summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/extern-crate-used.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/imports/extern-crate-used.stderr')
-rw-r--r--tests/ui/imports/extern-crate-used.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/ui/imports/extern-crate-used.stderr b/tests/ui/imports/extern-crate-used.stderr
new file mode 100644
index 000000000..1b9a2e472
--- /dev/null
+++ b/tests/ui/imports/extern-crate-used.stderr
@@ -0,0 +1,14 @@
+error: unused extern crate
+ --> $DIR/extern-crate-used.rs:18:1
+ |
+LL | extern crate core;
+ | ^^^^^^^^^^^^^^^^^^ help: remove it
+ |
+note: the lint level is defined here
+ --> $DIR/extern-crate-used.rs:6:9
+ |
+LL | #![deny(unused_extern_crates)]
+ | ^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+