2018-01-13 14:05:51 +01:00
|
|
|
error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
|
2025-02-09 22:50:01 +01:00
|
|
|
--> $DIR/feature-gate-allow-internal-unstable-struct.rs:6:1
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2025-02-09 22:50:01 +01:00
|
|
|
LL | #[allow_internal_unstable(something)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2019-07-09 11:32:08 +02:00
|
|
|
= help: add `#![feature(allow_internal_unstable)]` 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 09:27:47 +01:00
|
|
|
|
2025-08-09 20:41:01 +02:00
|
|
|
error: `#[allow_internal_unstable]` attribute cannot be used on structs
|
2025-02-09 22:50:01 +01:00
|
|
|
--> $DIR/feature-gate-allow-internal-unstable-struct.rs:6:1
|
2020-10-21 22:49:08 +02:00
|
|
|
|
|
2025-02-09 22:50:01 +01:00
|
|
|
LL | #[allow_internal_unstable(something)]
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2025-08-09 20:41:01 +02:00
|
|
|
|
|
2025-10-07 16:59:24 +02:00
|
|
|
= help: `#[allow_internal_unstable]` can be applied to functions and macro defs
|
2020-10-21 22:49:08 +02:00
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0658`.
|