summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/recover-missing-semi-before-item.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/parser/recover-missing-semi-before-item.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/parser/recover-missing-semi-before-item.rs b/tests/ui/parser/recover-missing-semi-before-item.rs
index 867b7b749..ef6cfe3c4 100644
--- a/tests/ui/parser/recover-missing-semi-before-item.rs
+++ b/tests/ui/parser/recover-missing-semi-before-item.rs
@@ -1,6 +1,6 @@
// run-rustfix
-#![allow(unused_variables, dead_code)]
+#![allow(unused_variables, dead_code, unused_imports)]
fn for_struct() {
let foo = 3 //~ ERROR expected `;`, found keyword `struct`