rust/tests/ui/inline-disallow-on-variant.rs

8 lines
97 B
Rust

enum Foo {
#[inline]
//~^ ERROR attribute should be applied
Variant,
}
fn main() {}