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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
466 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 previous error