Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
missing
/
missing-comma-in-match.rs
blob: e14e22d51609b5c7ed3564ace539d5a122c6e0aa [
file
] [
log
] [
blame
] [
edit
]
//@ 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
};
}