summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/warn-cmdline.rs
blob: 3bae61c3ea2ccd2c67a247c3cbc04a85de0b8d1f (plain)
1
2
3
4
5
6
7
8
9
// Check for unused crate dep, no path

// edition:2018
// check-pass
// compile-flags: -Wunused-crate-dependencies
// aux-crate:bar=bar.rs

fn main() {}
//~^ WARNING external crate `bar` unused in