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

error: aborting due to previous error