mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
16 lines
460 B
Plaintext
16 lines
460 B
Plaintext
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
|
|
|