summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/match-refactor-to-expr.stderr
blob: 851bef8f2c7e8c5eb65971ec036ddb3b46e4d230 (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: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 previous error