1 error: `extern crate` is not idiomatic in the new edition
2 --> $DIR/issue-57672.rs:7:1
4 LL | extern crate foo as foo_renamed;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert it to a `use`
7 note: lint level defined here
8 --> $DIR/issue-57672.rs:5:9
10 LL | #![deny(unused_extern_crates)]
11 | ^^^^^^^^^^^^^^^^^^^^
13 error: aborting due to previous error