]> git.proxmox.com Git - rustc.git/blob - src/test/ui/match/match-ill-type2.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / match / match-ill-type2.stderr
1 error[E0308]: mismatched types
2 --> $DIR/match-ill-type2.rs:4:9
3 |
4 LL | match 1i32 {
5 | ---- this expression has type `i32`
6 LL | 1i32 => 1,
7 LL | 2u32 => 1,
8 | ^^^^ expected `i32`, found `u32`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.