]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-ill-type2.rs
Merge commit '05677b6bd6c938ed760835d9b1f6514992654ae3' into sync_cg_clif-2021-08-06
[rust.git] / src / test / 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 }