]> git.lizzy.rs Git - rust.git/blob - src/test/ui/match/match-ill-type2.stderr
Auto merge of #106349 - LeSeulArtichaut:dyn-star-tracking-issue, r=jackh726
[rust.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`.