2018-02-07 21:35:35 -06:00
|
|
|
error[E0308]: mismatched types
|
2019-12-13 16:33:58 -06:00
|
|
|
--> $DIR/E0308-4.rs:4:15
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
2019-01-05 19:08:15 -06:00
|
|
|
LL | match x {
|
2019-12-30 00:02:24 -06:00
|
|
|
| - this expression has type `u8`
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | 0u8..=3i8 => (),
|
2019-12-13 16:33:58 -06:00
|
|
|
| --- ^^^ expected `u8`, found `i8`
|
|
|
|
| |
|
|
|
|
| this is of type `u8`
|
2018-02-07 21:35:35 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|