• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1error[E0658]: `cfg(target_abi)` is experimental and subject to change
2  --> $DIR/feature-gate-cfg-target-abi.rs:1:7
3   |
4LL | #[cfg(target_abi = "x")]
5   |       ^^^^^^^^^^^^^^^^
6   |
7   = note: see issue #80970 <https://github.com/rust-lang/rust/issues/80970> for more information
8   = help: add `#![feature(cfg_target_abi)]` to the crate attributes to enable
9
10error[E0658]: `cfg(target_abi)` is experimental and subject to change
11  --> $DIR/feature-gate-cfg-target-abi.rs:4:12
12   |
13LL | #[cfg_attr(target_abi = "x", x)]
14   |            ^^^^^^^^^^^^^^^^
15   |
16   = note: see issue #80970 <https://github.com/rust-lang/rust/issues/80970> for more information
17   = help: add `#![feature(cfg_target_abi)]` to the crate attributes to enable
18
19error[E0658]: `cfg(target_abi)` is experimental and subject to change
20  --> $DIR/feature-gate-cfg-target-abi.rs:7:19
21   |
22LL | #[cfg(not(any(all(target_abi = "x"))))]
23   |                   ^^^^^^^^^^^^^^^^
24   |
25   = note: see issue #80970 <https://github.com/rust-lang/rust/issues/80970> for more information
26   = help: add `#![feature(cfg_target_abi)]` to the crate attributes to enable
27
28error[E0658]: `cfg(target_abi)` is experimental and subject to change
29  --> $DIR/feature-gate-cfg-target-abi.rs:11:10
30   |
31LL |     cfg!(target_abi = "x");
32   |          ^^^^^^^^^^^^^^^^
33   |
34   = note: see issue #80970 <https://github.com/rust-lang/rust/issues/80970> for more information
35   = help: add `#![feature(cfg_target_abi)]` 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`.
40