1 error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
2 --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
4 LL | #[allow_internal_unstable()]
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = help: add `#![feature(allow_internal_unstable)]` to the crate attributes to enable
9 error: attribute should be applied to a macro
10 --> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
12 LL | #[allow_internal_unstable()]
13 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 | --------- not a macro
18 error: aborting due to 2 previous errors
20 For more information about this error, try `rustc --explain E0658`.