mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
190 B
Rust
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);
|
|
}
|