]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/tests/ui/builtin_type_shadow.rs
Merge commit 'e9d1a0a7b0b28dd422f1a790ccde532acafbf193' into sync_cg_clif-2022-08-24
[rust.git] / src / tools / clippy / 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() {}