]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/borrowck-lend-flow-match.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / borrowck-lend-flow-match.rs
index 4b59df4a98f15aefa87522297985c42cc391836c..9d234e0aaa6328073ce3c9aabe13dec9aaf7ff3f 100644 (file)
@@ -10,8 +10,8 @@
 
 // ignore-pretty -- comments are unfaithfully preserved
 
-#[allow(unused_variable)];
-#[allow(dead_assignment)];
+#![allow(unused_variable)]
+#![allow(dead_assignment)]
 
 fn cond() -> bool { fail!() }
 fn link<'a>(v: &'a uint, w: &mut &'a uint) -> bool { *w = v; true }