mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
11 lines
364 B
Plaintext
11 lines
364 B
Plaintext
error: expected one of `,`, `.`, `?`, `}`, or an operator, found `=>`
|
|
--> $DIR/missing-comma-in-match.rs:6:18
|
|
|
|
|
LL | &None => 1
|
|
| - help: missing a comma here to end this `match` arm
|
|
LL | &Some(2) => { 3 }
|
|
| ^^ expected one of `,`, `.`, `?`, `}`, or an operator
|
|
|
|
error: aborting due to previous error
|
|
|