summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/unused-aliases.rs
blob: 1b7cb9b970e4908d0ca713e952b4e808ecd55975 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// 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() {}