]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-rustc-attrs-1.stderr
Rollup merge of #106570 - Xaeroxe:div-duration-tests, r=JohnTitor
[rust.git] / tests / ui / feature-gates / feature-gate-rustc-attrs-1.stderr
1 error[E0658]: the `#[rustc_variance]` attribute is just used for rustc unit tests and will never be stable
2   --> $DIR/feature-gate-rustc-attrs-1.rs:3:1
3    |
4 LL | #[rustc_variance]
5    | ^^^^^^^^^^^^^^^^^
6    |
7    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
8
9 error[E0658]: the `#[rustc_error]` attribute is just used for rustc unit tests and will never be stable
10   --> $DIR/feature-gate-rustc-attrs-1.rs:4:1
11    |
12 LL | #[rustc_error]
13    | ^^^^^^^^^^^^^^
14    |
15    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
16
17 error[E0658]: the `#[rustc_nonnull_optimization_guaranteed]` attribute is just used to enable niche optimizations in libcore and libstd and will never be stable
18   --> $DIR/feature-gate-rustc-attrs-1.rs:5:1
19    |
20 LL | #[rustc_nonnull_optimization_guaranteed]
21    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
22    |
23    = help: add `#![feature(rustc_attrs)]` to the crate attributes to enable
24
25 error: aborting due to 3 previous errors
26
27 For more information about this error, try `rustc --explain E0658`.