2018-01-13 14:05:51 +01:00
|
|
|
error[E0658]: allow_internal_unstable side-steps feature gating and stability checks
|
2018-12-25 08:56:47 -07:00
|
|
|
--> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
|
2017-12-06 09:27:47 +01:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[allow_internal_unstable()]
|
2019-02-03 12:55:00 +01:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
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
|
2017-12-06 09:27:47 +01:00
|
|
|
|
2020-10-21 22:49:08 +02:00
|
|
|
error: attribute should be applied to a macro
|
|
|
|
--> $DIR/feature-gate-allow-internal-unstable-struct.rs:4:1
|
|
|
|
|
|
|
|
|
LL | #[allow_internal_unstable()]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
LL |
|
|
|
|
LL | struct S;
|
|
|
|
| --------- not a macro
|
|
|
|
|
|
|
|
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`.
|