Sign in
fuchsia
/
third_party
/
rust
/
9ae1a664f7b947dadb9e97eea7703831d9cd5d31
/
.
/
src
/
test
/
ui
/
missing
/
missing-comma-in-match.rs
blob: d7d16155cf28a1e2724a05116b9476f8ff1c8a7b [
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
};
}