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