11error[E0658]: compact `cfg(target(..))` is experimental and subject to change
22 --> $DIR/feature-gate-cfg-target-compact.rs:1:7
33 |
4- LL | #[cfg(target(os = "x "))]
5- | ^^^^^^^^^^^^^^^^
4+ LL | #[cfg(target(os = "linux "))]
5+ | ^^^^^^^^^^^^^^^^^^^^
66 |
77 = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
88 = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
@@ -11,8 +11,8 @@ LL | #[cfg(target(os = "x"))]
1111error[E0658]: compact `cfg(target(..))` is experimental and subject to change
1212 --> $DIR/feature-gate-cfg-target-compact.rs:4:12
1313 |
14- LL | #[cfg_attr(target(os = "x "), x )]
15- | ^^^^^^^^^^^^^^^^
14+ LL | #[cfg_attr(target(os = "linux "), non_exhaustive )]
15+ | ^^^^^^^^^^^^^^^^^^^^
1616 |
1717 = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
1818 = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
@@ -21,8 +21,8 @@ LL | #[cfg_attr(target(os = "x"), x)]
2121error[E0658]: compact `cfg(target(..))` is experimental and subject to change
2222 --> $DIR/feature-gate-cfg-target-compact.rs:7:19
2323 |
24- LL | #[cfg(not(any(all(target(os = "x ")))))]
25- | ^^^^^^^^^^^^^^^^
24+ LL | #[cfg(not(any(all(target(os = "linux ")))))]
25+ | ^^^^^^^^^^^^^^^^^^^^
2626 |
2727 = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
2828 = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
@@ -31,8 +31,8 @@ LL | #[cfg(not(any(all(target(os = "x")))))]
3131error[E0658]: compact `cfg(target(..))` is experimental and subject to change
3232 --> $DIR/feature-gate-cfg-target-compact.rs:11:10
3333 |
34- LL | cfg!(target(os = "x "));
35- | ^^^^^^^^^^^^^^^^
34+ LL | cfg!(target(os = "linux "));
35+ | ^^^^^^^^^^^^^^^^^^^^
3636 |
3737 = note: see issue #96901 <https://github.com/rust-lang/rust/issues/96901> for more information
3838 = help: add `#![feature(cfg_target_compact)]` to the crate attributes to enable
0 commit comments