Sign in
rust
/
rust
/
dae8ea92a7337b3c2c4db7d06de554fbcf2de2e8
/
.
/
tests
/
ui
/
missing
/
missing-comma-in-match.fixed
blob: fe8539d3a5ae70f6cf9f8cd4679b45c5c092b30b [
file
]
//@ run-rustfix
fn main
()
{
match
&
Some
(
3
)
{
&
None
=>
1
,
&
Some
(
2
)
=>
{
3
}
//~^ ERROR expected one of `,`, `.`, `?`, `}`, or an operator, found `=>`
//~| NOTE expected one of `,`, `.`, `?`, `}`, or an operator
_
=>
2
};
}