]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/match-arrows-block-then-binop.stderr
Auto merge of #60693 - saleemjaffer:refactor_fntype_stuff, r=eddyb
[rust.git] / src / test / ui / parser / match-arrows-block-then-binop.stderr
1 error: expected pattern, found `+`
2   --> $DIR/match-arrows-block-then-binop.rs:5:9
3    |
4 LL |       } + 5
5    |         ^ expected pattern
6 help: parentheses are required to parse this as an expression
7    |
8 LL |       0 => ({
9 LL |         0
10 LL |       }) + 5
11    |
12
13 error: aborting due to previous error
14