mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 23:34:48 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
16 lines
308 B
Plaintext
16 lines
308 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 1 previous error
|
|
|