about summary refs log tree commit diff
path: root/src/test/debug-info/struct-with-destructor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/debug-info/struct-with-destructor.rs')
-rw-r--r--src/test/debug-info/struct-with-destructor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/struct-with-destructor.rs b/src/test/debug-info/struct-with-destructor.rs
index 6a0f94e6e50..ae439611c40 100644
--- a/src/test/debug-info/struct-with-destructor.rs
+++ b/src/test/debug-info/struct-with-destructor.rs
@@ -26,7 +26,7 @@
 // debugger:print nested
 // check:$4 = {a = {a = {x = 7890, y = 9870}}}
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 struct NoDestructor {
     x: i32,