about summary refs log tree commit diff
path: root/src/test/debug-info/packed-struct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debug-info/packed-struct.rs')
-rw-r--r--src/test/debug-info/packed-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/packed-struct.rs b/src/test/debug-info/packed-struct.rs
index 78bc924387d..2b7df0083d6 100644
--- a/src/test/debug-info/packed-struct.rs
+++ b/src/test/debug-info/packed-struct.rs
@@ -35,7 +35,7 @@
 // debugger:print sizeof(packedInPacked)
 // check:$6 = 40
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 #[packed]
 struct Packed {