diff options
Diffstat (limited to '')
-rw-r--r-- | src/test/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.stderr | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/test/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.stderr b/src/test/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.stderr new file mode 100644 index 000000000..2ef97e7f2 --- /dev/null +++ b/src/test/ui/rust-2018/issue-54400-unused-extern-crate-attr-span.stderr @@ -0,0 +1,18 @@ +error: unused extern crate + --> $DIR/issue-54400-unused-extern-crate-attr-span.rs:12:1 + | +LL | / #[cfg(blandiloquence)] +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 previous error + |