]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/liveness-unused.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / liveness-unused.rs
index 33fc094abbe75b5586374bf54a1faa31b62d6266..ee44872d1220143a7e252409f7ea0614194b98f4 100644 (file)
@@ -8,9 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[deny(unused_variable)];
-#[deny(dead_assignment)];
-#[allow(dead_code, non_camel_case_types)];
+#![deny(unused_variable)]
+#![deny(dead_assignment)]
+#![allow(dead_code, non_camel_case_types)]
 
 fn f1(x: int) {
     //~^ ERROR unused variable: `x`