|
| 1 | +error[E0658]: `cfg(true)` is experimental and subject to change |
| 2 | + --> $DIR/feature-gate-cfg-boolean-literal.rs:1:7 |
| 3 | + | |
| 4 | +LL | #[cfg(true)] |
| 5 | + | ^^^^ |
| 6 | + | |
| 7 | + = note: see issue #999999 <https://github.com/rust-lang/rust/issues/999999> for more information |
| 8 | + = help: add `#![feature(cfg_boolean_literal)]` to the crate attributes to enable |
| 9 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 10 | + |
| 11 | +error[E0658]: `cfg(true)` is experimental and subject to change |
| 12 | + --> $DIR/feature-gate-cfg-boolean-literal.rs:4:12 |
| 13 | + | |
| 14 | +LL | #[cfg_attr(true, cfg(false))] |
| 15 | + | ^^^^ |
| 16 | + | |
| 17 | + = note: see issue #999999 <https://github.com/rust-lang/rust/issues/999999> for more information |
| 18 | + = help: add `#![feature(cfg_boolean_literal)]` to the crate attributes to enable |
| 19 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 20 | + |
| 21 | +error[E0658]: `cfg(false)` is experimental and subject to change |
| 22 | + --> $DIR/feature-gate-cfg-boolean-literal.rs:4:22 |
| 23 | + | |
| 24 | +LL | #[cfg_attr(true, cfg(false))] |
| 25 | + | ^^^^^ |
| 26 | + | |
| 27 | + = note: see issue #999999 <https://github.com/rust-lang/rust/issues/999999> for more information |
| 28 | + = help: add `#![feature(cfg_boolean_literal)]` to the crate attributes to enable |
| 29 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 30 | + |
| 31 | +error[E0658]: `cfg(false)` is experimental and subject to change |
| 32 | + --> $DIR/feature-gate-cfg-boolean-literal.rs:9:10 |
| 33 | + | |
| 34 | +LL | cfg!(false); |
| 35 | + | ^^^^^ |
| 36 | + | |
| 37 | + = note: see issue #999999 <https://github.com/rust-lang/rust/issues/999999> for more information |
| 38 | + = help: add `#![feature(cfg_boolean_literal)]` to the crate attributes to enable |
| 39 | + = note: this compiler was built on YYYY-MM-DD; consider upgrading it if it is out of date |
| 40 | + |
| 41 | +error: aborting due to 4 previous errors |
| 42 | + |
| 43 | +For more information about this error, try `rustc --explain E0658`. |
0 commit comments