]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unused-crate-deps/extern-loc-defl-json.rs
Rollup merge of #89468 - FabianWolff:issue-89358, r=jackh726
[rust.git] / src / test / ui / unused-crate-deps / extern-loc-defl-json.rs
1 // Default extern location from name and path if one isn't specified
2
3 // check-pass
4 // aux-crate:bar=bar.rs
5 // compile-flags:--error-format json
6
7 #![warn(unused_crate_dependencies)]
8 //~^ WARNING external crate `bar` unused in
9
10 fn main() {}