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
-
9
1
error: attribute should be applied to a function definition
10
2
--> $DIR/naked-invalid-attr.rs:13:1
11
3
|
@@ -32,6 +24,14 @@ LL | #[naked]
32
24
LL | extern "C" fn invoke(&self);
33
25
| ---------------------------- not a function definition
34
26
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
+
35
35
error: attribute should be applied to a function definition
36
36
--> $DIR/naked-invalid-attr.rs:6:1
37
37
|
You can’t perform that action at this time.
0 commit comments