]> git.lizzy.rs Git - rust.git/blob - src/test/ui/error-codes/E0308-4.stderr
Merge commit '3d0b0e66afdfaa519d8855b338b35b4605775945' into clippyup
[rust.git] / src / test / ui / error-codes / E0308-4.stderr
1 error[E0308]: mismatched types
2   --> $DIR/E0308-4.rs:4:15
3    |
4 LL |     match x {
5    |           - this expression has type `u8`
6 LL |         0u8..=3i8 => (),
7    |         ---   ^^^ expected `u8`, found `i8`
8    |         |
9    |         this is of type `u8`
10
11 error: aborting due to previous error
12
13 For more information about this error, try `rustc --explain E0308`.