mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
468 B
Text
16 lines
468 B
Text
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 1 previous error
|
|
|