1 warning: unused extern crate
2 --> $DIR/removing-extern-crate.rs:8:1
4 LL | extern crate removing_extern_crate as foo;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
7 note: the lint level is defined here
8 --> $DIR/removing-extern-crate.rs:6:9
10 LL | #![warn(rust_2018_idioms)]
12 = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]`
14 warning: unused extern crate
15 --> $DIR/removing-extern-crate.rs:9:1
17 LL | extern crate core;
18 | ^^^^^^^^^^^^^^^^^^ help: remove it
20 warning: unused extern crate
21 --> $DIR/removing-extern-crate.rs:12:5
23 LL | extern crate removing_extern_crate as foo;
24 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
26 warning: unused extern crate
27 --> $DIR/removing-extern-crate.rs:13:5
29 LL | extern crate core;
30 | ^^^^^^^^^^^^^^^^^^ help: remove it
32 warning: 4 warnings emitted