mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
error: expected one of `.`, `?`, `{`, or an operator, found `;`
|
|
--> $DIR/match-refactor-to-expr.rs:8:9
|
|
|
|
|
LL | match
|
|
| -----
|
|
| |
|
|
| while parsing this `match` expression
|
|
| help: try removing this `match`
|
|
LL | Some(4).unwrap_or(5)
|
|
| - expected one of `.`, `?`, `{`, or an operator
|
|
LL |
|
|
LL | ;
|
|
| ^ unexpected token
|
|
|
|
error: aborting due to previous error
|
|
|