]> git.lizzy.rs Git - rust.git/blob - src/test/ui/unused-crate-deps/extern-loc-json-json.rs
Move some tests with compare-mode=nll output to revisions
[rust.git] / src / test / ui / unused-crate-deps / extern-loc-json-json.rs
1 // --extern-location with a raw reference
2
3 // check-pass
4 // aux-crate:bar=bar.rs
5 // compile-flags:--extern-location bar=json:{"key":123,"value":{}} --error-format json -Z unstable-options
6
7 #![warn(unused_crate_dependencies)]
8 //~^ WARNING external crate `bar` unused in
9
10 fn main() {}