]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/match-refactor-to-expr.stderr
Move more parsing tests to ui/parser
[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:18:9
3    |
4 LL |         match
5    |         ----- help: try removing this `match`
6 LL |         Some(4).unwrap_or_else(5)
7    |                                  - expected one of `.`, `?`, `{`, or an operator here
8 LL |         //~^ NOTE expected one of `.`, `?`, `{`, or an operator here
9 LL |         ; //~ NOTE unexpected token
10    |         ^ unexpected token
11
12 error: aborting due to previous error
13