1 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
2 --> $DIR/feature-gate-cfg-target-compact.rs:1:7
4 LL | #[cfg(target(os = "x"))]
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
10 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
11 --> $DIR/feature-gate-cfg-target-compact.rs:4:12
13 LL | #[cfg_attr(target(os = "x"), x)]
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
19 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
20 --> $DIR/feature-gate-cfg-target-compact.rs:7:19
22 LL | #[cfg(not(any(all(target(os = "x")))))]
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
28 error[E0658]: compact `cfg(target(..))` is experimental and subject to change
29 --> $DIR/feature-gate-cfg-target-compact.rs:11:10
31 LL | cfg!(target(os = "x"));
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
37 error: aborting due to 4 previous errors
39 For more information about this error, try `rustc --explain E0658`.