fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
425 B13 linesraw
1warning: unused extern crate
2  --> $DIR/edition-extern-crate-allowed.rs:7:1
3   |
4LL | extern crate edition_extern_crate_allowed;
5   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
6   |
7note: lint level defined here
8  --> $DIR/edition-extern-crate-allowed.rs:5:9
9   |
10LL | #![warn(rust_2018_idioms)]
11   |         ^^^^^^^^^^^^^^^^
12   = note: `#[warn(unused_extern_crates)]` implied by `#[warn(rust_2018_idioms)]`
13