rust/tests/ui/unused-crate-deps/use_extern_crate_2015.rs
2024-02-16 20:02:50 +00:00

14 lines
190 B
Rust

// Suppress by using crate
//@ edition:2015
//@ check-pass
//@ aux-crate:bar=bar.rs
#![warn(unused_crate_dependencies)]
extern crate bar;
fn main() {
println!("bar {}", bar::BAR);
}