1 error[E0518]: attribute should be applied to function or closure
2 --> $DIR/attr-usage-inline.rs:6:1
7 | --------- not a function or closure
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0518`.