summary refs log tree commit diff
path: root/src/test/ui/parser/match-refactor-to-expr.stderr
blob: 5cbf0232bc31ef990d7e7a33d66cf98b3eb5228b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
error: expected one of `.`, `?`, `{`, or an operator, found `;`
  --> $DIR/match-refactor-to-expr.rs:6:9
   |
LL |         match
   |         -----
   |         |
   |         while parsing this match expression
   |         help: try removing this `match`
LL |         Some(4).unwrap_or_else(5)
   |                                  - expected one of `.`, `?`, `{`, or an operator
LL |
LL |         ;
   |         ^ unexpected token

error: aborting due to previous error