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