summaryrefslogtreecommitdiffstats
path: root/tests/ui/unused-crate-deps/deny-cmdline.rs
blob: 69e28b3319a2272118a122dd1ad9ead7ff1c1a97 (plain)
1
2
3
4
5
6
7
8
// Check for unused crate dep, deny, expect failure

// edition:2018
// compile-flags: -Dunused-crate-dependencies
// aux-crate:bar=bar.rs

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