]> git.lizzy.rs Git - rust.git/blob - crates/parser/test_data/parser/err/0032_match_arms_inner_attrs.rs
Merge #11461
[rust.git] / crates / parser / test_data / parser / err / 0032_match_arms_inner_attrs.rs
1 fn foo() {
2     match () {
3         _ => (),
4         #![doc("Not allowed here")]
5         _ => (),
6     }
7
8     match () {
9         _ => (),
10         _ => (),
11         #![doc("Nor here")]
12     }
13
14     match () {
15         #[cfg(test)]
16         #![doc("Nor here")]
17         _ => (),
18         _ => (),
19     }
20 }