2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: the `#[naked]` attribute is an experimental feature
|
2021-12-10 00:15:33 +00:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:5:1
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | #[naked]
|
2017-12-06 09:18:03 +00: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 09:32:08 +00:00
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
2024-01-10 06:39:02 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: the `#[naked]` attribute is an experimental feature
|
2024-02-01 22:45:00 +00:00
|
|
|
--> $DIR/feature-gate-naked_functions.rs:12:1
|
2017-12-06 09:18:03 +00:00
|
|
|
|
|
2018-02-23 00:42:32 +00:00
|
|
|
LL | #[naked]
|
2017-12-06 09:18:03 +00: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 09:32:08 +00:00
|
|
|
= help: add `#![feature(naked_functions)]` to the crate attributes to enable
|
2024-01-10 06:39:02 +00:00
|
|
|
= note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date
|
2017-12-06 09:18:03 +00:00
|
|
|
|
2024-02-01 22:45:00 +00:00
|
|
|
error[E0133]: use of inline assembly is unsafe and requires unsafe function or block
|
|
|
|
--> $DIR/feature-gate-naked_functions.rs:8:5
|
|
|
|
|
|
|
|
|
LL | asm!("", options(noreturn))
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
|
|
|
|
|
|
|
|
|
= 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
|
|
|
|
--> $DIR/feature-gate-naked_functions.rs:15:5
|
|
|
|
|
|
|
|
|
LL | asm!("", options(noreturn))
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ use of inline assembly
|
|
|
|
|
|
|
|
|
= note: inline assembly is entirely unchecked and can cause undefined behavior
|
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
2017-12-06 09:18:03 +00: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`.
|