1 warning: unused extern crate
2 --> $DIR/remove-extern-crate.rs:18:1
4 LL | extern crate core;
5 | ^^^^^^^^^^^^^^^^^^ help: remove it
7 note: lint level defined here
8 --> $DIR/remove-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: `extern crate` is not idiomatic in the new edition
15 --> $DIR/remove-extern-crate.rs:19:1
17 LL | extern crate core as another_name;
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
20 warning: `extern crate` is not idiomatic in the new edition
21 --> $DIR/remove-extern-crate.rs:32:5
23 LL | extern crate core;
24 | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use`