]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/lint-unknown-feature.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / lint-unknown-feature.rs
index 15f446a671cac269bed490476be7a23321eefdc2..6252e01749bd218a2184820e3e70e85368daa5e7 100644 (file)
@@ -8,8 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#[deny(unknown_features)];
+#![deny(unknown_features)]
 
-#[feature(this_is_not_a_feature)]; //~ ERROR: unknown feature
+#![feature(this_is_not_a_feature)] //~ ERROR: unknown feature
 
 fn main() {}