]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin-type-shadow.rs
Adapt the *.stderr files of the ui-tests to the tool_lints
[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 }