summaryrefslogtreecommitdiffstats
path: root/src/test/ui/inline-disallow-on-variant.rs
blob: d92a4e8cc8df19897ba9a8504187ffab2399040c (plain)
1
2
3
4
5
6
7
enum Foo {
    #[inline]
    //~^ ERROR attribute should be applied
    Variant,
}

fn main() {}