mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 10:45:18 +00:00
14 lines
238 B
Rust
14 lines
238 B
Rust
// Warn about unused aliased for the crate
|
|
|
|
// edition:2018
|
|
// check-pass
|
|
// aux-crate:bar=bar.rs
|
|
// aux-crate:barbar=bar.rs
|
|
|
|
#![warn(unused_crate_dependencies)]
|
|
//~^ WARNING external crate `barbar` unused in
|
|
|
|
use bar as _;
|
|
|
|
fn main() {}
|