about summary refs log tree commit diff
path: root/src/test/debug-info/tuple-style-enum.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debug-info/tuple-style-enum.rs')
-rw-r--r--src/test/debug-info/tuple-style-enum.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/tuple-style-enum.rs b/src/test/debug-info/tuple-style-enum.rs
index 45eceb6b509..176e4b0a69f 100644
--- a/src/test/debug-info/tuple-style-enum.rs
+++ b/src/test/debug-info/tuple-style-enum.rs
@@ -29,7 +29,7 @@
 // debugger:print univariant
 // check:$4 = {-1}
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 // The first element is to ensure proper alignment, irrespective of the machines word size. Since
 // the size of the discriminant value is machine dependent, this has be taken into account when