summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/match-arrows-block-then-binop.stderr
blob: cb361a3db53803464274e31f226e6fa061fe305a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
error: expected pattern, found `+`
  --> $DIR/match-arrows-block-then-binop.rs:5:9
   |
LL |       } + 5
   |         ^ expected pattern
   |
help: parentheses are required to parse this as an expression
   |
LL ~       0 => ({
LL |         0
LL ~       }) + 5
   |

error: aborting due to previous error