aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/err/0032_match_arms_inner_attrs.rs
blob: 06aa4777043400e5b55cfeed44189d8f449e619f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
fn foo() {
    match () {
        _ => (),
        #![doc("Not allowed here")]
        _ => (),
    }

    match () {
        _ => (),
        _ => (),
        #![doc("Nor here")]
    }

    match () {
        #[cfg(test)]
        #![doc("Nor here")]
        _ => (),
        _ => (),
    }
}