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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
306 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