1 warning: unused extern crate
2 --> $DIR/remove-extern-crate.rs:9:1
4 LL | extern crate core;
5 | ^^^^^^^^^^^^^^^^^^ help: remove it
7 note: the lint level is defined here
8 --> $DIR/remove-extern-crate.rs:7: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:32:5
17 LL | extern crate core;
18 | ^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
20 warning: 2 warnings emitted