rust/tests/ui/parser/match-refactor-to-expr.stderr

17 lines
468 B
Plaintext
Raw Normal View History

error: expected one of `.`, `?`, `{`, or an operator, found `;`
2020-07-02 05:32:12 +00:00
--> $DIR/match-refactor-to-expr.rs:8:9
|
2019-03-09 12:03:44 +00:00
LL | match
| -----
| |
| while parsing this `match` expression
| 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 | ;
| ^ unexpected token
error: aborting due to 1 previous error