summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/bad-lint-cap3.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/lint/bad-lint-cap3.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/lint/bad-lint-cap3.stderr b/src/test/ui/lint/bad-lint-cap3.stderr
new file mode 100644
index 000000000..0fb65322f
--- /dev/null
+++ b/src/test/ui/lint/bad-lint-cap3.stderr
@@ -0,0 +1,15 @@
+warning: unused import: `std::option`
+ --> $DIR/bad-lint-cap3.rs:7:5
+ |
+LL | use std::option;
+ | ^^^^^^^^^^^
+ |
+note: the lint level is defined here
+ --> $DIR/bad-lint-cap3.rs:5:9
+ |
+LL | #![deny(warnings)]
+ | ^^^^^^^^
+ = note: `#[warn(unused_imports)]` implied by `#[warn(warnings)]`
+
+warning: 1 warning emitted
+