blob: 9064b5cf514cf2127d43cbc7e0fea908a499ea23 [file]
error: the `inline` attribute cannot be used on enum variants
--> $DIR/inline-attribute-enum-variant-error.rs:4:7
|
LL | #[inline]
| ^^^^^^
LL |
LL | Variant,
|
= help: the `inline` attribute can only be applied to functions
error: aborting due to 1 previous error