about summary refs log tree commit diff
path: root/src/tools/rustfmt/tests/source/issue-6147/case_rustfmt_v2.rs
blob: da612b213fcd38b6ff62845e54254cba20a44919 (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,
}
}
}