|
1 | 1 | error[E0433]: failed to resolve: use of unresolved module or unlinked crate `a` |
2 | | - --> $DIR/naked-invalid-attr.rs:56:5 |
| 2 | + --> $DIR/naked-invalid-attr.rs:57:5 |
3 | 3 | | |
4 | 4 | LL | #[::a] |
5 | 5 | | ^ use of unresolved module or unlinked crate `a` |
6 | 6 |
|
7 | 7 | error: `#[naked]` attribute cannot be used on crates |
8 | | - --> $DIR/naked-invalid-attr.rs:4:1 |
| 8 | + --> $DIR/naked-invalid-attr.rs:5:1 |
9 | 9 | | |
10 | 10 | LL | #![unsafe(naked)] |
11 | 11 | | ^^^^^^^^^^^^^^^^^ |
12 | 12 | | |
13 | 13 | = help: `#[naked]` can only be applied to functions |
14 | 14 |
|
15 | 15 | error: `#[naked]` attribute cannot be used on foreign functions |
16 | | - --> $DIR/naked-invalid-attr.rs:9:5 |
| 16 | + --> $DIR/naked-invalid-attr.rs:10:5 |
17 | 17 | | |
18 | 18 | LL | #[unsafe(naked)] |
19 | 19 | | ^^^^^^^^^^^^^^^^ |
20 | 20 | | |
21 | 21 | = help: `#[naked]` can be applied to functions and methods |
22 | 22 |
|
23 | 23 | error: `#[naked]` attribute cannot be used on structs |
24 | | - --> $DIR/naked-invalid-attr.rs:13:1 |
| 24 | + --> $DIR/naked-invalid-attr.rs:14:1 |
25 | 25 | | |
26 | 26 | LL | #[unsafe(naked)] |
27 | 27 | | ^^^^^^^^^^^^^^^^ |
28 | 28 | | |
29 | 29 | = help: `#[naked]` can only be applied to functions |
30 | 30 |
|
31 | 31 | error: `#[naked]` attribute cannot be used on struct fields |
32 | | - --> $DIR/naked-invalid-attr.rs:16:5 |
| 32 | + --> $DIR/naked-invalid-attr.rs:17:5 |
33 | 33 | | |
34 | 34 | LL | #[unsafe(naked)] |
35 | 35 | | ^^^^^^^^^^^^^^^^ |
36 | 36 | | |
37 | 37 | = help: `#[naked]` can only be applied to functions |
38 | 38 |
|
39 | 39 | error: `#[naked]` attribute cannot be used on required trait methods |
40 | | - --> $DIR/naked-invalid-attr.rs:22:5 |
| 40 | + --> $DIR/naked-invalid-attr.rs:23:5 |
41 | 41 | | |
42 | 42 | LL | #[unsafe(naked)] |
43 | 43 | | ^^^^^^^^^^^^^^^^ |
44 | 44 | | |
45 | 45 | = help: `#[naked]` can be applied to functions, inherent methods, provided trait methods, and trait methods in impl blocks |
46 | 46 |
|
47 | 47 | error: `#[naked]` attribute cannot be used on closures |
48 | | - --> $DIR/naked-invalid-attr.rs:51:5 |
| 48 | + --> $DIR/naked-invalid-attr.rs:52:5 |
49 | 49 | | |
50 | 50 | LL | #[unsafe(naked)] |
51 | 51 | | ^^^^^^^^^^^^^^^^ |
52 | 52 | | |
53 | 53 | = help: `#[naked]` can be applied to functions and methods |
54 | 54 |
|
55 | 55 | error[E0736]: attribute incompatible with `#[unsafe(naked)]` |
56 | | - --> $DIR/naked-invalid-attr.rs:56:3 |
| 56 | + --> $DIR/naked-invalid-attr.rs:57:3 |
57 | 57 | | |
58 | 58 | LL | #[::a] |
59 | 59 | | ^^^ the `::a` attribute is incompatible with `#[unsafe(naked)]` |
|
0 commit comments