mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
0c3f5cce89
This commit does three things: 1. replaces (the last remaining) never true cfgs by the FALSE cfg 2. fix derive-helper-configured.rs (typo in directive) 3. and comment some current unused #[cfg_attr] (missing revisions)
19 lines
586 B
Plaintext
19 lines
586 B
Plaintext
error: unused extern crate
|
|
--> $DIR/issue-54400-unused-extern-crate-attr-span.rs:12:1
|
|
|
|
|
LL | / #[cfg(not(FALSE))]
|
|
LL | | extern crate edition_lint_paths;
|
|
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-
|
|
| |________________________________|
|
|
| help: remove it
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/issue-54400-unused-extern-crate-attr-span.rs:6:9
|
|
|
|
|
LL | #![deny(rust_2018_idioms)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
= note: `#[deny(unused_extern_crates)]` implied by `#[deny(rust_2018_idioms)]`
|
|
|
|
error: aborting due to 1 previous error
|
|
|