]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/module_inception.rs
iterate List by value
[rust.git] / tests / ui / module_inception.rs
index b6917020ea2659b80be9f5886794e69d373755f6..a23aba9164a5c2d22cfc20b30ad4251da01b26a7 100644 (file)
@@ -1,5 +1,3 @@
-#![feature(tool_lints)]
-
 #![warn(clippy::module_inception)]
 
 mod foo {
@@ -14,11 +12,10 @@ mod bar {}
     }
 }
 
-// No warning. See <https://github.com/rust-lang-nursery/rust-clippy/issues/1220>.
+// No warning. See <https://github.com/rust-lang/rust-clippy/issues/1220>.
 mod bar {
     #[allow(clippy::module_inception)]
-    mod bar {
-    }
+    mod bar {}
 }
 
 fn main() {}