]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0308-4.stderr
Reword label as per review comment
[rust.git] / src / test / ui / error-codes / E0308-4.stderr
1 error[E0308]: mismatched types
2   --> $DIR/E0308-4.rs:4:9
3    |
4 LL |     match x {
5    |           - this match expression has type `u8`
6 LL |         0u8..=3i8 => (), //~ ERROR E0308
7    |         ^^^^^^^^^ expected u8, found i8
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0308`.