]> git.proxmox.com Git - rustc.git/blame - src/tools/rustfmt/tests/target/issue-2554.rs
New upstream version 1.52.1+dfsg1
[rustc.git] / src / tools / rustfmt / tests / target / issue-2554.rs
CommitLineData
f20569fa
XL
1// #2554
2// Do not add the beginning vert to the first match arm's pattern.
3
4fn main() {
5 match foo(|_| {
6 bar(|_| {
7 //
8 })
9 }) {
10 Ok(()) => (),
11 Err(_) => (),
12 }
13}