rust/src/test/ui/parser/match-refactor-to-expr.stderr

17 lines
474 B
Plaintext
Raw Normal View History

error: expected one of `.`, `?`, `{`, or an operator, found `;`
--> $DIR/match-refactor-to-expr.rs:6:9
|
2019-03-09 06:03:44 -06:00
LL | match
| -----
| |
| while parsing this match expression
| help: try removing this `match`
LL | Some(4).unwrap_or_else(5)
| - expected one of `.`, `?`, `{`, or an operator
2019-03-09 06:03:44 -06:00
LL |
LL | ;
| ^ unexpected token
error: aborting due to previous error