rust/src/test/ui/parser/match-arrows-block-then-binop.stderr

15 lines
301 B
Plaintext
Raw Normal View History

2018-10-20 15:36:17 -05:00
error: expected pattern, found `+`
--> $DIR/match-arrows-block-then-binop.rs:5:9
2018-10-20 15:36:17 -05:00
|
2019-03-09 06:03:44 -06:00
LL | } + 5
2018-10-20 15:36:17 -05:00
| ^ expected pattern
2019-05-02 17:53:09 -05:00
help: parentheses are required to parse this as an expression
|
LL | 0 => ({
LL | 0
LL | }) + 5
|
2018-10-20 15:36:17 -05:00
error: aborting due to previous error