fork/rust

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

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
479 B16 linesraw
1error: expected one of `.`, `?`, `{`, or an operator, found `;`
2  --> $DIR/match-refactor-to-expr.rs:6:9
3   |
4LL |         match
5   |         -----
6   |         |
7   |         while parsing this match expression
8   |         help: try removing this `match`
9LL |         Some(4).unwrap_or_else(5)
10   |                                  - expected one of `.`, `?`, `{`, or an operator here
11LL |
12LL |         ;
13   |         ^ unexpected token
14
15error: aborting due to previous error
16