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[E0518]: attribute should be applied to function or closure
10 --> $DIR/attr-usage-inline.rs:20:1
13 | ^^^^^^^^^ not a function or closure
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0518`.