]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/middle/astencode.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / librustc / middle / astencode.rs
index fd72a5f838a6e9463ca01e9fe415bc9c52f4861c..8873f1cfd3346e40003301df893e9e349808e5e2 100644 (file)
@@ -8,9 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[allow(non_camel_case_types)];
+#![allow(non_camel_case_types)]
 // FIXME: remove this after snapshot, and Results are handled
-#[allow(unused_must_use)];
+#![allow(unused_must_use)]
 
 use c = metadata::common;
 use cstore = metadata::cstore;