fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
317 B11 linesraw
1error[E0308]: mismatched types
2  --> $DIR/E0308-4.rs:4:9
3   |
4LL |     match x {
5   |           - this match expression has type `u8`
6LL |         0u8..=3i8 => (),
7   |         ^^^^^^^^^ expected u8, found i8
8
9error: aborting due to previous error
10
11For more information about this error, try `rustc --explain E0308`.