]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin_type_shadow.rs
Auto merge of #85538 - r00ster91:iterrepeat, r=Mark-Simulacrum
[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() {}