rust/tests/ui/attributes/unnamed-field-attributes-du...

12 lines
161 B
Rust

// Duplicate non-builtin attributes can be used on unnamed fields.
//@ check-pass
struct S (
#[rustfmt::skip]
#[rustfmt::skip]
u8
);
fn main() {}