rust/tests/ui/attributes/unnamed-field-attributes-dup.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
161 B
Rust
Raw Normal View History

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