summaryrefslogtreecommitdiffstats
path: root/tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr')
-rw-r--r--tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr b/tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr
new file mode 100644
index 000000000..bb50ec3f5
--- /dev/null
+++ b/tests/ui/rust-2018/extern-crate-idiomatic-in-2018.stderr
@@ -0,0 +1,15 @@
+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 previous error
+