summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/lint-removed-allow.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/lint-removed-allow.stderr')
-rw-r--r--src/test/ui/lint/lint-removed-allow.stderr14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/ui/lint/lint-removed-allow.stderr b/src/test/ui/lint/lint-removed-allow.stderr
new file mode 100644
index 000000000..029334c2e
--- /dev/null
+++ b/src/test/ui/lint/lint-removed-allow.stderr
@@ -0,0 +1,14 @@
+error: unused variable: `unused`
+ --> $DIR/lint-removed-allow.rs:8:17
+ |
+LL | fn main() { let unused = (); }
+ | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_unused`
+ |
+note: the lint level is defined here
+ --> $DIR/lint-removed-allow.rs:7:8
+ |
+LL | #[deny(unused_variables)]
+ | ^^^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+