summaryrefslogtreecommitdiffstats
path: root/src/test/ui/editions/edition-extern-crate-allowed.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/editions/edition-extern-crate-allowed.stderr')
-rw-r--r--src/test/ui/editions/edition-extern-crate-allowed.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/editions/edition-extern-crate-allowed.stderr b/src/test/ui/editions/edition-extern-crate-allowed.stderr
new file mode 100644
index 000000000..dde774c52
--- /dev/null
+++ b/src/test/ui/editions/edition-extern-crate-allowed.stderr
@@ -0,0 +1,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
+