Sign in
fuchsia
/
third_party
/
rust
/
3c2fd1a72d2e8cc80b354b4d2dd7931a7afe1b02
/
.
/
src
/
test
/
ui
/
missing
/
missing-comma-in-match.fixed
blob: de1b9506af9d448dbb50990fd27247e92074ab84 [
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 here
_
=>
2
};
}