]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin-type-shadow.rs
Merge branch 'master' into issue-2879
[rust.git] / tests / ui / builtin-type-shadow.rs
1 #![feature(tool_lints)]
2
3 #![warn(clippy::builtin_type_shadow)]
4
5 fn foo<u32>(a: u32) -> u32 {
6     42
7     // ^ rustc's type error
8 }
9
10 fn main() {
11 }