mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
15 lines
456 B
Text
15 lines
456 B
Text
error: unused extern crate
|
|
--> $DIR/extern-crate-idiomatic-in-2018.rs:12:1
|
|
|
|
|
LL | extern crate edition_lint_paths;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove it
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/extern-crate-idiomatic-in-2018.rs:9:9
|
|
|
|
|
LL | #![deny(rust_2018_idioms)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
= note: `#[deny(unused_extern_crates)]` implied by `#[deny(rust_2018_idioms)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|