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