summaryrefslogtreecommitdiffstats
path: root/tests/ui/attributes/unnamed-field-attributes-dup.rs
blob: 7edfd0337945b813c4a513d2b4390a1a301e462e (plain)
1
2
3
4
5
6
7
8
9
10
11
// Duplicate non-builtin attributes can be used on unnamed fields.

// check-pass

struct S (
    #[rustfmt::skip]
    #[rustfmt::skip]
    u8
);

fn main() {}