]> git.lizzy.rs Git - rust.git/blob - src/tools/rustfmt/tests/target/issue-2554.rs
Sync core::simd up to rust-lang/portable-simd@2e081db92aa3ee0a4563bc28ce01bdad5b1b2efd
[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 }