about summary refs log tree commit diff
path: root/src/test/debug-info/simple-struct.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-04-14 12:21:52 -0700
committerbors <bors@rust-lang.org>2014-04-14 12:21:52 -0700
commit246ebd2d5aebc68a581c33c33cbce5f2bc7dc7d6 (patch)
treea68a1c6dc21d247e9466995f3fe28f1bdbd7ba25 /src/test/debug-info/simple-struct.rs
parent347e9e4ffe60d321999bb83216e956a0b1370810 (diff)
parent713e87526eac42aa9879e7cfb556ea64d63e7a91 (diff)
auto merge of #13493 : Manishearth/rust/newattr-everywhere, r=alexcrichton
See #13478
Diffstat (limited to 'src/test/debug-info/simple-struct.rs')
-rw-r--r--src/test/debug-info/simple-struct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debug-info/simple-struct.rs b/src/test/debug-info/simple-struct.rs
index 2e1cdeccad2..736ab76f7db 100644
--- a/src/test/debug-info/simple-struct.rs
+++ b/src/test/debug-info/simple-struct.rs
@@ -72,8 +72,8 @@
 // debugger:print 'simple-struct::PADDING_AT_END'
 // check:$18 = {x = -27, y = 28}
 
-#[allow(unused_variable)];
-#[allow(dead_code)];
+#![allow(unused_variable)]
+#![allow(dead_code)]
 
 struct NoPadding16 {
     x: u16,