about summary refs log tree commit diff
path: root/src/test/debug-info/tuple-style-enum.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/tuple-style-enum.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/tuple-style-enum.rs')
-rw-r--r--src/test/debug-info/tuple-style-enum.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/debug-info/tuple-style-enum.rs b/src/test/debug-info/tuple-style-enum.rs
index 45eceb6b509..176e4b0a69f 100644
--- a/src/test/debug-info/tuple-style-enum.rs
+++ b/src/test/debug-info/tuple-style-enum.rs
@@ -29,7 +29,7 @@
 // debugger:print univariant
 // check:$4 = {-1}
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 // 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