1 error: unused extern crate
2 --> $DIR/extern-crate-idiomatic-in-2018.rs:21:1
4 LL | extern crate edition_lint_paths;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
7 note: lint level defined here
8 --> $DIR/extern-crate-idiomatic-in-2018.rs:18:9
10 LL | #![deny(rust_2018_idioms)]
12 = note: #[deny(unused_extern_crates)] implied by #[deny(rust_2018_idioms)]
14 error: `extern crate` is not idiomatic in the new edition
15 --> $DIR/extern-crate-idiomatic-in-2018.rs:24:1
17 LL | extern crate edition_lint_paths as bar;
18 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
20 error: aborting due to 2 previous errors