about summary refs log tree commit diff
path: root/src/test/debug-info/struct-style-enum.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debug-info/struct-style-enum.rs')
-rw-r--r--src/test/debug-info/struct-style-enum.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debug-info/struct-style-enum.rs b/src/test/debug-info/struct-style-enum.rs
index f81501c7121..cb68245a48e 100644
--- a/src/test/debug-info/struct-style-enum.rs
+++ b/src/test/debug-info/struct-style-enum.rs
@@ -29,8 +29,8 @@
 // debugger:print univariant
 // check:$4 = {a = -1}
 
-#[allow(unused_variable)];
-#[feature(struct_variant)];
+#![allow(unused_variable)]
+#![feature(struct_variant)]
 
 // 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