about summary refs log tree commit diff
path: root/src/test/debug-info/struct-in-struct.rs
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2014-04-14 21:00:31 +0530
committerManish Goregaokar <manishsmail@gmail.com>2014-04-14 21:00:31 +0530
commit713e87526eac42aa9879e7cfb556ea64d63e7a91 (patch)
treec94084ee13a07e5dfa52827517629143571f6bf8 /src/test/debug-info/struct-in-struct.rs
parente2e754810c78a25c902b76c74ba8f04d0dcdc6f1 (diff)
downloadrust-713e87526eac42aa9879e7cfb556ea64d63e7a91.tar.gz
rust-713e87526eac42aa9879e7cfb556ea64d63e7a91.zip
Use new attribute syntax in python files in src/etc too (#13478)
Diffstat (limited to 'src/test/debug-info/struct-in-struct.rs')
-rw-r--r--src/test/debug-info/struct-in-struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/struct-in-struct.rs b/src/test/debug-info/struct-in-struct.rs
index 44eb3a83146..182fb3d0965 100644
--- a/src/test/debug-info/struct-in-struct.rs
+++ b/src/test/debug-info/struct-in-struct.rs
@@ -25,7 +25,7 @@
 // debugger:print padding_at_end_parent
 // check:$3 = {x = {x = 10, y = 11}, y = {x = 12, y = 13}, z = {x = 14, y = 15}}
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 struct Simple {
     x: i32