]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin_type_shadow.rs
Merge commit 'b71f3405606d49b9735606b479c3415a0ca9810f' into clippyup
[rust.git] / tests / ui / builtin_type_shadow.rs
1 #![warn(clippy::builtin_type_shadow)]
2 #![allow(non_camel_case_types)]
3
4 fn foo<u32>(a: u32) -> u32 {
5     42
6     // ^ rustc's type error
7 }
8
9 fn main() {}