2025-03-29 17:30:11 +01:00
|
|
|
error[E0736]: attribute incompatible with `#[unsafe(naked)]`
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/naked-functions-inline.rs:12:1
|
2024-07-16 23:03:13 +02:00
|
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2024-07-16 23:03:13 +02:00
|
|
|
LL | #[inline]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-16 23:03:13 +02:00
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
error[E0736]: attribute incompatible with `#[unsafe(naked)]`
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/naked-functions-inline.rs:19:1
|
2024-07-16 23:03:13 +02:00
|
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2024-07-16 23:03:13 +02:00
|
|
|
LL | #[inline(always)]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-16 23:03:13 +02:00
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
error[E0736]: attribute incompatible with `#[unsafe(naked)]`
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/naked-functions-inline.rs:26:1
|
2024-07-16 23:03:13 +02:00
|
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2024-07-16 23:03:13 +02:00
|
|
|
LL | #[inline(never)]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-16 23:03:13 +02:00
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
error[E0736]: attribute incompatible with `#[unsafe(naked)]`
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/naked-functions-inline.rs:33:19
|
2024-07-17 10:42:24 +02:00
|
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2024-07-17 10:42:24 +02:00
|
|
|
LL | #[cfg_attr(all(), inline(never))]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^^^^^ the `inline` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-17 10:42:24 +02:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2024-07-16 23:03:13 +02:00
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0736`.
|