fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

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