2018-03-11 08:04:15 +00:00
|
|
|
error: expected one of `.`, `?`, `{`, or an operator, found `;`
|
2020-07-02 05:32:12 +00:00
|
|
|
--> $DIR/match-refactor-to-expr.rs:8:9
|
2018-03-11 08:04:15 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | match
|
2018-10-28 18:41:23 +00:00
|
|
|
| -----
|
|
|
|
| |
|
2022-01-12 20:43:24 +00:00
|
|
|
| while parsing this `match` expression
|
2018-10-28 18:41:23 +00:00
|
|
|
| help: try removing this `match`
|
2020-07-02 05:32:12 +00:00
|
|
|
LL | Some(4).unwrap_or(5)
|
|
|
|
| - expected one of `.`, `?`, `{`, or an operator
|
2019-03-09 12:03:44 +00:00
|
|
|
LL |
|
|
|
|
LL | ;
|
2018-03-11 08:04:15 +00:00
|
|
|
| ^ unexpected token
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|