]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-extern-crate-allowed.rs
Rollup merge of #104258 - compiler-errors:tait-closure-deduce, r=oli-obk
[rust.git] / src / test / ui / editions / edition-extern-crate-allowed.rs
1 // aux-build:edition-extern-crate-allowed.rs
2 // edition:2015
3 // check-pass
4
5 #![warn(rust_2018_idioms)]
6
7 extern crate edition_extern_crate_allowed;
8 //~^ WARNING unused extern crate
9
10 fn main() {}