]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-cfg-target-abi.stderr
Rollup merge of #94271 - RalfJung:downcast, r=oli-obk
[rust.git] / src / test / ui / feature-gates / feature-gate-cfg-target-abi.stderr
1 error[E0658]: `cfg(target_abi)` is experimental and subject to change
2   --> $DIR/feature-gate-cfg-target-abi.rs:1:7
3    |
4 LL | #[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
10 error[E0658]: `cfg(target_abi)` is experimental and subject to change
11   --> $DIR/feature-gate-cfg-target-abi.rs:4:12
12    |
13 LL | #[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
19 error[E0658]: `cfg(target_abi)` is experimental and subject to change
20   --> $DIR/feature-gate-cfg-target-abi.rs:7:19
21    |
22 LL | #[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
28 error[E0658]: `cfg(target_abi)` is experimental and subject to change
29   --> $DIR/feature-gate-cfg-target-abi.rs:11:10
30    |
31 LL |     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
37 error: aborting due to 4 previous errors
38
39 For more information about this error, try `rustc --explain E0658`.