rust/tests/ui/attributes/unnamed-field-attributes-dup.rs
2024-02-16 20:02:50 +00:00

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() {}