File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- error: attribute should be applied to a function definition
2- --> $DIR/naked-invalid-attr.rs:9:5
3- |
4- LL | #[naked]
5- | ^^^^^^^^
6- LL | fn f();
7- | ------- not a function definition
8-
91error: attribute should be applied to a function definition
102 --> $DIR/naked-invalid-attr.rs:13:1
113 |
@@ -32,6 +24,14 @@ LL | #[naked]
3224LL | extern "C" fn invoke(&self);
3325 | ---------------------------- not a function definition
3426
27+ error: attribute should be applied to a function definition
28+ --> $DIR/naked-invalid-attr.rs:9:5
29+ |
30+ LL | #[naked]
31+ | ^^^^^^^^
32+ LL | fn f();
33+ | ------- not a function definition
34+
3535error: attribute should be applied to a function definition
3636 --> $DIR/naked-invalid-attr.rs:6:1
3737 |
You can’t perform that action at this time.
0 commit comments