]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/lint-unsafe-block.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / lint-unsafe-block.rs
index 529d3e921a069e23fc071ec993b2aa4aab9b6678..a4c50781a774b7a22a4005c736eb1bb691c8df96 100644 (file)
@@ -8,10 +8,10 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[allow(unused_unsafe)];
-#[allow(dead_code)];
-#[deny(unsafe_block)];
-#[feature(macro_rules)];
+#![allow(unused_unsafe)]
+#![allow(dead_code)]
+#![deny(unsafe_block)]
+#![feature(macro_rules)]
 
 unsafe fn allowed() {}