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

// edition:2018
// aux-crate:bar=bar.rs

#![deny(unused_crate_dependencies)]
//~^ ERROR external crate `bar` unused in

fn main() {}