Skip to content

Commit 51d1024

Browse files
committed
Bless test.
1 parent 044a986 commit 51d1024

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/test/ui/asm/naked-invalid-attr.stderr

+8-8
Original file line numberDiff line numberDiff line change
@@ -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-
91
error: attribute should be applied to a function definition
102
--> $DIR/naked-invalid-attr.rs:13:1
113
|
@@ -32,6 +24,14 @@ LL | #[naked]
3224
LL | 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+
3535
error: attribute should be applied to a function definition
3636
--> $DIR/naked-invalid-attr.rs:6:1
3737
|

0 commit comments

Comments
 (0)