]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/match-refactor-to-expr.stderr
Rollup merge of #67005 - andrewbanchich:master, r=joshtriplett
[rust.git] / src / test / ui / parser / match-refactor-to-expr.stderr
1 error: expected one of `.`, `?`, `{`, or an operator, found `;`
2   --> $DIR/match-refactor-to-expr.rs:6:9
3    |
4 LL |         match
5    |         -----
6    |         |
7    |         while parsing this match expression
8    |         help: try removing this `match`
9 LL |         Some(4).unwrap_or_else(5)
10    |                                  - expected one of `.`, `?`, `{`, or an operator
11 LL |
12 LL |         ;
13    |         ^ unexpected token
14
15 error: aborting due to previous error
16