2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: attribute incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
--> $DIR/naked-functions-inline.rs:13:1
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| -------- function marked with `#[naked]` here
|
|
|
|
LL | #[inline]
|
2024-07-17 03:42:24 -05:00
|
|
|
| ^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: attribute incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
--> $DIR/naked-functions-inline.rs:20:1
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| -------- function marked with `#[naked]` here
|
|
|
|
LL | #[inline(always)]
|
2024-07-17 03:42:24 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: attribute incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
--> $DIR/naked-functions-inline.rs:27:1
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| -------- function marked with `#[naked]` here
|
|
|
|
LL | #[inline(never)]
|
2024-07-17 03:42:24 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]`
|
2024-07-16 16:03:13 -05:00
|
|
|
|
2024-07-17 03:42:24 -05:00
|
|
|
error[E0736]: attribute incompatible with `#[naked]`
|
|
|
|
--> $DIR/naked-functions-inline.rs:34:19
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| -------- function marked with `#[naked]` here
|
|
|
|
LL | #[cfg_attr(all(), inline(never))]
|
|
|
|
| ^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[naked]`
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2024-07-16 16:03:13 -05:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0736`.
|