2024-08-04 17:19:08 +02:00
|
|
|
error[E0658]: use of unstable library feature 'naked_functions'
|
|
|
|
--> $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
|
|
|
|
|
|
|
|
error[E0658]: use of unstable library feature 'naked_functions'
|
|
|
|
--> $DIR/feature-gate-naked_functions.rs:17: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
|
|
|
|
|
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
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:14: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-08-04 17:19:08 +02:00
|
|
|
error[E0658]: use of unstable library feature 'naked_functions'
|
|
|
|
--> $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
|
|
|
|
|
2024-02-01 22:45:00 +00:00
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:9:5
|
2024-02-01 22:45:00 +00:00
|
|
|
|
|
2024-09-05 17:48:13 +02:00
|
|
|
LL | naked_asm!("")
|
|
|
|
| ^^^^^^^^^^^^^^ use of inline assembly
|
2024-02-01 22:45:00 +00:00
|
|
|
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
|
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
2024-08-04 17:19:08 +02:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:17:5
|
2024-02-01 22:45:00 +00:00
|
|
|
|
|
2024-09-05 17:48:13 +02:00
|
|
|
LL | naked_asm!("")
|
|
|
|
| ^^^^^^^^^^^^^^ use of inline assembly
|
2024-02-01 22:45:00 +00:00
|
|
|
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
|
2024-08-04 17:19:08 +02:00
|
|
|
error: aborting due to 7 previous errors
|
2017-12-06 10:18:03 +01:00
|
|
|
|
2024-02-01 22:45:00 +00:00
|
|
|
Some errors have detailed explanations: E0133, E0658.
|
|
|
|
For more information about an error, try `rustc --explain E0133`.
|