blob: 5078f03d6017a02adaf92d8eb27d2202f67ea45f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0308]: mismatched types
--> $DIR/match-ill-type2.rs:4:9
|
LL | match 1i32 {
| ---- this expression has type `i32`
LL | 1i32 => 1,
LL | 2u32 => 1,
| ^^^^ expected `i32`, found `u32`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|