blob: 3e4a74636f923368f6b8dd8c268d2ef15b5d8a99 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
error[E0658]: `cfg(target_vendor)` is experimental and subject to change (see issue #29718)
--> $DIR/feature-gate-cfg-target-vendor.rs:12:12
|
12 | #[cfg_attr(target_vendor = "x", x)] //~ ERROR `cfg(target_vendor)` is experimental
| ^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(cfg_target_vendor)] to the crate attributes to enable
error[E0658]: `cfg(target_vendor)` is experimental and subject to change (see issue #29718)
--> $DIR/feature-gate-cfg-target-vendor.rs:11:7
|
11 | #[cfg(target_vendor = "x")] //~ ERROR `cfg(target_vendor)` is experimental
| ^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(cfg_target_vendor)] to the crate attributes to enable
error[E0658]: `cfg(target_vendor)` is experimental and subject to change (see issue #29718)
--> $DIR/feature-gate-cfg-target-vendor.rs:15:19
|
15 | #[cfg(not(any(all(target_vendor = "x"))))] //~ ERROR `cfg(target_vendor)` is experimental
| ^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(cfg_target_vendor)] to the crate attributes to enable
error[E0658]: `cfg(target_vendor)` is experimental and subject to change (see issue #29718)
--> $DIR/feature-gate-cfg-target-vendor.rs:19:10
|
19 | cfg!(target_vendor = "x");
| ^^^^^^^^^^^^^^^^^^^
|
= help: add #![feature(cfg_target_vendor)] to the crate attributes to enable
error: aborting due to 4 previous errors
|