2025-03-29 17:30:11 +01:00
|
|
|
error[E0736]: attribute incompatible with `#[unsafe(naked)]`
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/error-with-naked.rs:5:1
|
2019-07-20 00:55:58 +00:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^^^^^^^ the `track_caller` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-16 23:35:02 +02:00
|
|
|
LL |
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2019-07-20 00:55:58 +00: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/error-with-naked.rs:17:5
|
2020-04-08 03:49:53 +02:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
2025-03-29 17:30:11 +01:00
|
|
|
| ^^^^^^^^^^^^^^^ the `track_caller` attribute is incompatible with `#[unsafe(naked)]`
|
2024-07-16 23:35:02 +02:00
|
|
|
LL |
|
2025-03-29 17:30:11 +01:00
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| ---------------- function marked with `#[unsafe(naked)]` here
|
2020-04-08 03:49:53 +02:00
|
|
|
|
2022-04-14 12:07:36 +00:00
|
|
|
error[E0737]: `#[track_caller]` requires Rust ABI
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/error-with-naked.rs:5:1
|
2022-04-14 12:07:36 +00:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error[E0737]: `#[track_caller]` requires Rust ABI
|
2024-12-18 22:05:27 +01:00
|
|
|
--> $DIR/error-with-naked.rs:17:5
|
2022-04-14 12:07:36 +00:00
|
|
|
|
|
|
|
|
LL | #[track_caller]
|
|
|
|
| ^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2019-07-20 00:55:58 +00:00
|
|
|
|
2022-04-14 12:07:36 +00:00
|
|
|
Some errors have detailed explanations: E0736, E0737.
|
|
|
|
For more information about an error, try `rustc --explain E0736`.
|