2018-01-13 13:05:51 +00:00
|
|
|
error[E0658]: the `#[rustc_variance]` attribute is just used for rustc unit tests and will never be stable (see issue #29642)
|
2017-12-06 08:27:47 +00:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:15:1
|
|
|
|
|
|
|
|
|
15 | #[rustc_variance] //~ ERROR the `#[rustc_variance]` attribute is just used for rustc unit tests and will never be stable
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(rustc_attrs)] to the crate attributes to enable
|
|
|
|
|
2018-01-13 13:05:51 +00:00
|
|
|
error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable (see issue #29642)
|
2017-12-06 08:27:47 +00:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:16:1
|
|
|
|
|
|
|
|
|
16 | #[rustc_error] //~ ERROR the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable
|
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(rustc_attrs)] to the crate attributes to enable
|
|
|
|
|
2018-01-13 13:05:51 +00:00
|
|
|
error[E0658]: unless otherwise specified, attributes with the prefix `rustc_` are reserved for internal compiler diagnostics (see issue #29642)
|
2017-12-06 08:27:47 +00:00
|
|
|
--> $DIR/feature-gate-rustc-attrs.rs:17:1
|
|
|
|
|
|
|
|
|
17 | #[rustc_foo]
|
|
|
|
| ^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: add #![feature(rustc_attrs)] to the crate attributes to enable
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors
|
|
|
|
|
2018-02-19 20:40:25 +00:00
|
|
|
If you want more information on this error, try using "rustc --explain E0658"
|