about summary refs log tree commit diff
path: root/src/test/debug-info/borrowed-managed-basic.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/borrowed-managed-basic.rs
parente2e754810c78a25c902b76c74ba8f04d0dcdc6f1 (diff)
Use new attribute syntax in python files in src/etc too (#13478)
Diffstat (limited to 'src/test/debug-info/borrowed-managed-basic.rs')
-rw-r--r--src/test/debug-info/borrowed-managed-basic.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debug-info/borrowed-managed-basic.rs b/src/test/debug-info/borrowed-managed-basic.rs
index 8056706994e..e12ebe643a4 100644
--- a/src/test/debug-info/borrowed-managed-basic.rs
+++ b/src/test/debug-info/borrowed-managed-basic.rs
@@ -10,7 +10,7 @@
 
 // ignore-android: FIXME(#10381)
 
-#[feature(managed_boxes)];
+#![feature(managed_boxes)]
 
 // Gdb doesn't know about UTF-32 character encoding and will print a rust char as only
 // its numerical value.
@@ -61,7 +61,7 @@
 // debugger:print *f64_ref
 // check:$14 = 3.5
 
-#[allow(unused_variable)];
+#![allow(unused_variable)]
 
 fn main() {
     let bool_box: @bool = @true;