summaryrefslogtreecommitdiffstats
path: root/src/test/ui/lint/issue-81218.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/lint/issue-81218.rs')
-rw-r--r--src/test/ui/lint/issue-81218.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/lint/issue-81218.rs b/src/test/ui/lint/issue-81218.rs
deleted file mode 100644
index f02aa9040..000000000
--- a/src/test/ui/lint/issue-81218.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-// Regression test for #81218
-//
-// check-pass
-
-#![forbid(warnings)]
-
-#[allow(unused_variables)]
-fn main() {
- // We want to ensure that you don't get an error
- // here. The idea is that a derive might generate
- // code that would otherwise trigger the "unused variables"
- // lint, but it is meant to be suppressed.
- let x: ();
-}