]> git.lizzy.rs Git - rust.git/blob - tests/ui/removing-extern-crate.fixed
Rollup merge of #107769 - compiler-errors:pointer-like, r=eholk
[rust.git] / tests / ui / removing-extern-crate.fixed
1 // edition:2018
2 // aux-build:removing-extern-crate.rs
3 // run-rustfix
4 // check-pass
5
6 #![warn(rust_2018_idioms)]
7
8  //~ WARNING unused extern crate
9  //~ WARNING unused extern crate
10
11 mod another {
12      //~ WARNING unused extern crate
13      //~ WARNING unused extern crate
14 }
15
16 fn main() {}