1 error: `extern crate` is not idiomatic in the new edition
2 --> $DIR/extern-crate-used.rs:8:1
4 LL | extern crate core as iso1; //~ ERROR `extern crate` is not idiomatic in the new edition
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
7 note: lint level defined here
8 --> $DIR/extern-crate-used.rs:6:9
10 LL | #![deny(unused_extern_crates)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: `extern crate` is not idiomatic in the new edition
14 --> $DIR/extern-crate-used.rs:9:1
16 LL | extern crate core as iso2; //~ ERROR `extern crate` is not idiomatic in the new edition
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
19 error: `extern crate` is not idiomatic in the new edition
20 --> $DIR/extern-crate-used.rs:10:1
22 LL | extern crate core as iso3; //~ ERROR `extern crate` is not idiomatic in the new edition
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
25 error: `extern crate` is not idiomatic in the new edition
26 --> $DIR/extern-crate-used.rs:11:1
28 LL | extern crate core as iso4; //~ ERROR `extern crate` is not idiomatic in the new edition
29 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
31 error: unused extern crate
32 --> $DIR/extern-crate-used.rs:14:1
34 LL | extern crate core; //~ ERROR unused extern crate
35 | ^^^^^^^^^^^^^^^^^^ help: remove it
37 error: aborting due to 5 previous errors