rust/tests/ui/parser/match-arrows-block-then-binop.stderr
2023-01-11 09:32:08 +00:00

16 lines
306 B
Plaintext

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