]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/lint-managed-heap-memory.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / lint-managed-heap-memory.rs
index 6b8a971653d63ead6917c20d430501a2dfc36381..d9a79d7597592c286ad66b9a024ab941fd4e019c 100644 (file)
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[feature(managed_boxes)];
-#[forbid(managed_heap_memory)];
+#![feature(managed_boxes)]
+#![forbid(managed_heap_memory)]
 
 struct Foo {
     x: @int //~ ERROR type uses managed