rust/tests/ui/parser/match-refactor-to-expr.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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