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

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

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

fn main() {}