rust/src/test/ui/parser/match-arrows-block-then-binop.stderr
Esteban Küber 0baf61bfdb Increase spacing for suggestions in diagnostics
Make the spacing between the code snippet and verbose structured
suggestions consistent with note and help messages.
2019-10-24 12:26:01 -07: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