blob: d8d7f6adb82b55a3dc5983eb3fd1a96567bbeeee [file] [log] [blame]
error[E0518]: attribute should be applied to function or closure
--> $DIR/attr-usage-inline.rs:6:1
|
LL | #[inline]
| ^^^^^^^^^
LL | struct S;
| --------- not a function or closure
error: aborting due to previous error
For more information about this error, try `rustc --explain E0518`.