fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.6 KiB39 linesraw
1error[E0658]: compact `cfg(target(..))` is experimental and subject to change
2  --> $DIR/feature-gate-cfg-target-compact.rs:1:7
3   |
4LL | #[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
10error[E0658]: compact `cfg(target(..))` is experimental and subject to change
11  --> $DIR/feature-gate-cfg-target-compact.rs:4:12
12   |
13LL | #[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
19error[E0658]: compact `cfg(target(..))` is experimental and subject to change
20  --> $DIR/feature-gate-cfg-target-compact.rs:7:19
21   |
22LL | #[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
28error[E0658]: compact `cfg(target(..))` is experimental and subject to change
29  --> $DIR/feature-gate-cfg-target-compact.rs:11:10
30   |
31LL |     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
37error: aborting due to 4 previous errors
38
39For more information about this error, try `rustc --explain E0658`.