]> git.lizzy.rs Git - rust.git/blob - tests/ui/builtin-type-shadow.rs
Merge pull request #2984 from flip1995/single_char_pattern
[rust.git] / tests / ui / builtin-type-shadow.rs
1
2
3 #![warn(builtin_type_shadow)]
4
5 fn foo<u32>(a: u32) -> u32 {
6     42
7     // ^ rustc's type error
8 }
9
10 fn main() {
11 }