]> git.lizzy.rs Git - rust.git/blob - tests/ui/match/match-ill-type2.rs
Merge commit '1d8491b120223272b13451fc81265aa64f7f4d5b' into sync-from-rustfmt
[rust.git] / tests / ui / match / match-ill-type2.rs
1 fn main() {
2     match 1i32 {
3         1i32 => 1,
4         2u32 => 1, //~ ERROR mismatched types
5         _ => 2,
6     };
7 }