]> git.lizzy.rs Git - rust.git/blob - tests/ui/feature-gates/feature-gate-cfg-target-compact.stderr
Rollup merge of #106753 - compiler-errors:rpitit-not-suggestable, r=spastorino
[rust.git] / tests / ui / feature-gates / feature-gate-cfg-target-compact.stderr
1 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
2   --> $DIR/feature-gate-cfg-target-compact.rs:1:7
3    |
4 LL | #[cfg(target(os = "x"))]
5    |       ^^^^^^^^^^^^^^^^
6    |
7    = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
8    = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
9
10 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
11   --> $DIR/feature-gate-cfg-target-compact.rs:4:12
12    |
13 LL | #[cfg_attr(target(os = "x"), x)]
14    |            ^^^^^^^^^^^^^^^^
15    |
16    = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
17    = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
18
19 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
20   --> $DIR/feature-gate-cfg-target-compact.rs:7:19
21    |
22 LL | #[cfg(not(any(all(target(os = "x")))))]
23    |                   ^^^^^^^^^^^^^^^^
24    |
25    = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
26    = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
27
28 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
29   --> $DIR/feature-gate-cfg-target-compact.rs:11:10
30    |
31 LL |     cfg!(target(os = "x"));
32    |          ^^^^^^^^^^^^^^^^
33    |
34    = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
35    = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
36
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0658`.