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