summaryrefslogtreecommitdiffstats
path: root/tests/ui/match/match-ill-type2.rs
blob: 6612f6e392fc7e52f11b3aec479c3ee2b8ad65e7 (plain)
1
2
3
4
5
6
7
fn main() {
    match 1i32 {
        1i32 => 1,
        2u32 => 1, //~ ERROR mismatched types
        _ => 2,
    };
}