fork/rust

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

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

1.39.0
731 B14 linesraw
1error[E0308]: mismatched types
2  --> $DIR/whitespace-trimming-2.rs:4:187
3   |
4LL | ...-> usize {
5   |       ----- expected `usize` because of return type
6LL | ...                                                                                                                                                                                 ()
7   |                                                                                                                                                                                     ^^ expected usize, found ()
8   |
9   = note: expected type `usize`
10              found type `()`
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.