|
1 | | -error[E0736]: cannot use additional code generation attributes with `#[naked]` |
| 1 | +error[E0736]: attribute incompatible with `#[naked]` |
2 | 2 | --> $DIR/naked-functions-inline.rs:13:1 |
3 | 3 | | |
4 | 4 | LL | #[naked] |
5 | 5 | | -------- function marked with `#[naked]` here |
6 | 6 | LL | #[inline] |
7 | | - | ^^^^^^^^^ this attribute is incompatible with `#[naked]` |
| 7 | + | ^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]` |
8 | 8 |
|
9 | | -error[E0736]: cannot use additional code generation attributes with `#[naked]` |
| 9 | +error[E0736]: attribute incompatible with `#[naked]` |
10 | 10 | --> $DIR/naked-functions-inline.rs:20:1 |
11 | 11 | | |
12 | 12 | LL | #[naked] |
13 | 13 | | -------- function marked with `#[naked]` here |
14 | 14 | LL | #[inline(always)] |
15 | | - | ^^^^^^^^^^^^^^^^^ this attribute is incompatible with `#[naked]` |
| 15 | + | ^^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]` |
16 | 16 |
|
17 | | -error[E0736]: cannot use additional code generation attributes with `#[naked]` |
| 17 | +error[E0736]: attribute incompatible with `#[naked]` |
18 | 18 | --> $DIR/naked-functions-inline.rs:27:1 |
19 | 19 | | |
20 | 20 | LL | #[naked] |
21 | 21 | | -------- function marked with `#[naked]` here |
22 | 22 | LL | #[inline(never)] |
23 | | - | ^^^^^^^^^^^^^^^^ this attribute is incompatible with `#[naked]` |
| 23 | + | ^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]` |
24 | 24 |
|
25 | | -error: aborting due to 3 previous errors |
| 25 | +error[E0736]: attribute incompatible with `#[naked]` |
| 26 | + --> $DIR/naked-functions-inline.rs:34:19 |
| 27 | + | |
| 28 | +LL | #[naked] |
| 29 | + | -------- function marked with `#[naked]` here |
| 30 | +LL | #[cfg_attr(all(), inline(never))] |
| 31 | + | ^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]` |
| 32 | + |
| 33 | +error: aborting due to 4 previous errors |
26 | 34 |
|
27 | 35 | For more information about this error, try `rustc --explain E0736`. |
0 commit comments