2024-11-02 16:10:24 -07:00
|
|
|
error[E0658]: use of unstable library feature `naked_functions`
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:9:5
|
|
|
|
|
|
2024-09-05 17:48:13 +02:00
|
|
|
LL | naked_asm!("")
|
2024-08-04 17:19:08 +02:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information
|
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
2024-11-02 16:10:24 -07:00
|
|
|
error[E0658]: use of unstable library feature `naked_functions`
|
2025-03-29 17:30:11 +01:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:16:5
|
2024-08-04 17:19:08 +02:00
|
|
|
|
|
2024-09-05 17:48:13 +02:00
|
|
|
LL | naked_asm!("")
|
2024-08-04 17:19:08 +02:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information
|
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
error: unsafe attribute used without unsafe
|
|
|
|
--> $DIR/feature-gate-naked_functions.rs:6:3
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^ usage of unsafe attribute
|
|
|
|
|
|
|
|
|
help: wrap the attribute in `unsafe(...)`
|
|
|
|
|
|
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| +++++++ +
|
|
|
|
|
|
|
|
error: unsafe attribute used without unsafe
|
|
|
|
--> $DIR/feature-gate-naked_functions.rs:13:3
|
|
|
|
|
|
|
|
|
LL | #[naked]
|
|
|
|
| ^^^^^ usage of unsafe attribute
|
|
|
|
|
|
|
|
|
help: wrap the attribute in `unsafe(...)`
|
|
|
|
|
|
|
|
|
LL | #[unsafe(naked)]
|
|
|
|
| +++++++ +
|
|
|
|
|
2019-04-10 16:40:12 -07:00
|
|
|
error[E0658]: the `#[naked]` attribute is an experimental feature
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:6:1
|
2017-12-06 10:18:03 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[naked]
|
2017-12-06 10:18:03 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
2023-12-31 16:25:15 +00:00
|
|
|
= note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
2024-01-10 01:39:02 -05:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2017-12-06 10:18:03 +01:00
|
|
|
|
2019-04-10 16:40:12 -07:00
|
|
|
error[E0658]: the `#[naked]` attribute is an experimental feature
|
2025-03-29 17:30:11 +01:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:13:1
|
2017-12-06 10:18:03 +01:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #[naked]
|
2017-12-06 10:18:03 +01:00
|
|
|
| ^^^^^^^^
|
|
|
|
|
|
2023-12-31 16:25:15 +00:00
|
|
|
= note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
2024-01-10 01:39:02 -05:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2017-12-06 10:18:03 +01:00
|
|
|
|
2024-11-02 16:10:24 -07:00
|
|
|
error[E0658]: use of unstable library feature `naked_functions`
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:3:5
|
|
|
|
|
|
|
|
|
LL | use std::arch::naked_asm;
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: see issue #90957 <https://github.com/rust-lang/rust/issues/90957> for more information
|
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
|
|
|
|
|
|
|
error: aborting due to 7 previous errors
|
2017-12-06 10:18:03 +01:00
|
|
|
|
2025-03-29 17:30:11 +01:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|