]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/privacy-ns2.rs
Convert most code to new inner attribute syntax.
[rust.git] / src / test / compile-fail / privacy-ns2.rs
index e293153e9da2d921bd59228cb13301a48671f4fc..c75b12165c090040864ff39d1cc248ddaa685834 100644 (file)
@@ -11,9 +11,9 @@
 // Check we do the correct privacy checks when we import a name and there is an
 // item with that name in both the value and type namespaces.
 
-#[feature(globs)];
-#[allow(dead_code)];
-#[allow(unused_imports)];
+#![feature(globs)]
+#![allow(dead_code)]
+#![allow(unused_imports)]
 
 // public type, private value
 pub mod foo1 {