]> git.lizzy.rs Git - rust.git/blob - src/test/ui/editions/edition-extern-crate-allowed.rs
Rollup merge of #104467 - fuzzypixelz:fix/attempt-to-substract-with-overflow, r=compi...
[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() {}