1 warning: unused extern crate
2 --> $DIR/removing-extern-crate.rs:19:1
4 LL | extern crate std as foo;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
7 note: lint level defined here
8 --> $DIR/removing-extern-crate.rs:16: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:20:1
17 LL | extern crate core;
18 | ^^^^^^^^^^^^^^^^^^ help: remove it
20 warning: unused extern crate
21 --> $DIR/removing-extern-crate.rs:23:5
23 LL | extern crate std as foo;
24 | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
26 warning: unused extern crate
27 --> $DIR/removing-extern-crate.rs:24:5
29 LL | extern crate std;
30 | ^^^^^^^^^^^^^^^^^ help: remove it