Files
rust/tests/ui/feature-gates/feature-gate-allow-internal-unstable-struct.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
849 B
Plaintext
Raw Normal View History

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
|
2025-02-09 22:50:01 +01:00
LL | #[allow_internal_unstable(something)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= 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
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
|
2025-02-09 22:50:01 +01:00
LL | #[allow_internal_unstable(something)]
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: `#[allow_internal_unstable]` can be applied to functions and macro defs
error: aborting due to 2 previous errors
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0658`.