about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/target/issue-6147/case_rustfmt_v2.rs
blob: 9d0b12d686b4912eba41ef6b668c33cef524bac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// rustfmt-style_edition: 2024

pub fn main() {
    let a = Some(12);
    match a {
        #![attr1]
        #![attr2]
        #![attr3]
        _ => None,
    }

    {
        match a {
            #![attr1]
            #![attr2]
            #![attr3]
            _ => None,
        }
    }
}