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

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

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