We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 044a986 commit 51d1024Copy full SHA for 51d1024
src/test/ui/asm/naked-invalid-attr.stderr
@@ -1,11 +1,3 @@
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
error: attribute should be applied to a function definition
10
--> $DIR/naked-invalid-attr.rs:13:1
11
|
@@ -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
+ | ^^^^^^^^
+LL | fn f();
+ | ------- not a function definition
+
35
36
--> $DIR/naked-invalid-attr.rs:6:1
37
0 commit comments