]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/builtin-type-shadow.rs
iterate List by value
[rust.git] / tests / ui / builtin-type-shadow.rs
index 56892fc948398a2de2cca643eea3851e4dac8bb3..69b8b6a0e68c3af97530ff3316c953e96c2d4efc 100644 (file)
@@ -1,11 +1,9 @@
-#![feature(tool_lints)]
-
 #![warn(clippy::builtin_type_shadow)]
+#![allow(non_camel_case_types)]
 
 fn foo<u32>(a: u32) -> u32 {
     42
     // ^ rustc's type error
 }
 
-fn main() {
-}
+fn main() {}