Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
missing
/
missing-comma-in-match.fixed
blob: f091082f35f7630c81a5cee8422d3218bce951ed [
file
] [
log
] [
blame
]
// 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
};
}