]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2554.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / tools / rustfmt / tests / target / issue-2554.rs
1 // #2554
2 // Do not add the beginning vert to the first match arm's pattern.
3
4 fn main() {
5     match foo(|_| {
6         bar(|_| {
7             //
8         })
9     }) {
10         Ok(()) => (),
11         Err(_) => (),
12     }
13 }