1 error: attribute should be applied to a function definition
2 --> $DIR/naked-invalid-attr.rs:14:1
11 | |_- not a function definition
13 error: attribute should be applied to a function definition
14 --> $DIR/naked-invalid-attr.rs:51:5
17 | ^^^^^^^^ ----- not a function definition
19 error: attribute should be applied to a function definition
20 --> $DIR/naked-invalid-attr.rs:22:5
24 LL | extern "C" fn invoke(&self);
25 | ---------------------------- not a function definition
27 error: attribute should be applied to a function definition
28 --> $DIR/naked-invalid-attr.rs:10:5
33 | ------- not a function definition
35 error: attribute should be applied to a function definition
36 --> $DIR/naked-invalid-attr.rs:5:1
41 error: aborting due to 5 previous errors