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

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

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