]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/enum_glob_use.rs
Auto merge of #3603 - xfix:random-state-lint, r=phansch
[rust.git] / tests / ui / enum_glob_use.rs
index 76d0d29bb5395b07ef5d2bf21af0901b115e2471..dde2896e415d50203bdae6a14fd6ea79009a597d 100644 (file)
@@ -1,7 +1,14 @@
-
-
-#![warn(clippy, clippy_pedantic)]
-#![allow(unused_imports, dead_code, missing_docs_in_private_items)]
+// 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::all, clippy::pedantic)]
+#![allow(unused_imports, dead_code, clippy::missing_docs_in_private_items)]
 
 use std::cmp::Ordering::*;
 
@@ -23,4 +30,9 @@ mod tests {
     use super::*;
 }
 
+#[allow(non_snake_case)]
+mod CamelCaseName {}
+
+use CamelCaseName::*;
+
 fn main() {}