]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/module_inception.rs
iterate List by value
[rust.git] / tests / ui / module_inception.rs
index 333a8efec32b1e4db140258a5effeb9bcd239147..a23aba9164a5c2d22cfc20b30ad4251da01b26a7 100644 (file)
@@ -1,15 +1,3 @@
-// Copyright 2014-2018 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-
-
-
 #![warn(clippy::module_inception)]
 
 mod foo {
@@ -24,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() {}