fork/rust

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

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
321 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`.