rust/tests/ui/inline-disallow-on-variant.rs
2023-01-11 09:32:08 +00:00

8 lines
97 B
Rust

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