Sign in
rust
/
rustfmt
/
refs/heads/subtree
/
.
/
tests
/
target
/
issue-2554.rs
blob: d5f0563a6f100978bf7b511b88315206c25cf91c [
file
] [
log
] [
blame
]
// #2554
// Do not add the beginning vert to the first match arm's pattern.
fn
main
()
{
match
foo
(|
_
|
{
bar
(|
_
|
{
//
})
})
{
Ok
(())
=>
(),
Err
(
_
)
=>
(),
}
}