|
| 1 | +warning: unexpected `cfg` condition name: `FALSE` |
| 2 | + --> $DIR/false.rs:7:7 |
| 3 | + | |
| 4 | +LL | #[cfg(FALSE)] |
| 5 | + | ^^^^^ |
| 6 | + | |
| 7 | + = help: to expect this configuration use `--check-cfg=cfg(FALSE)` |
| 8 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 9 | + = note: `#[warn(unexpected_cfgs)]` on by default |
| 10 | +help: you may have meant to use `false` (notice the capitalization). Doing so makes this predicate evaluate to `false` unconditionally |
| 11 | + | |
| 12 | +LL - #[cfg(FALSE)] |
| 13 | +LL + #[cfg(false)] |
| 14 | + | |
| 15 | + |
| 16 | +warning: unexpected `cfg` condition name: `False` |
| 17 | + --> $DIR/false.rs:13:7 |
| 18 | + | |
| 19 | +LL | #[cfg(False)] |
| 20 | + | ^^^^^ |
| 21 | + | |
| 22 | + = help: to expect this configuration use `--check-cfg=cfg(False)` |
| 23 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 24 | +help: you may have meant to use `false` (notice the capitalization). Doing so makes this predicate evaluate to `false` unconditionally (notice the capitalization) |
| 25 | + | |
| 26 | +LL - #[cfg(False)] |
| 27 | +LL + #[cfg(false)] |
| 28 | + | |
| 29 | + |
| 30 | +warning: unexpected `cfg` condition name: `r#false` |
| 31 | + --> $DIR/false.rs:19:7 |
| 32 | + | |
| 33 | +LL | #[cfg(r#false)] |
| 34 | + | ^^^^^^^ |
| 35 | + | |
| 36 | + = help: to expect this configuration use `--check-cfg=cfg(r#false)` |
| 37 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 38 | + |
| 39 | +warning: unexpected `cfg` condition name: `False` |
| 40 | + --> $DIR/false.rs:25:7 |
| 41 | + | |
| 42 | +LL | #[cfg(r#False)] |
| 43 | + | ^^^^^^^ |
| 44 | + | |
| 45 | + = help: to expect this configuration use `--check-cfg=cfg(False)` |
| 46 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 47 | + |
| 48 | +warning: unexpected `cfg` condition name: `TRUE` |
| 49 | + --> $DIR/false.rs:34:7 |
| 50 | + | |
| 51 | +LL | #[cfg(TRUE)] |
| 52 | + | ^^^^ |
| 53 | + | |
| 54 | + = help: to expect this configuration use `--check-cfg=cfg(TRUE)` |
| 55 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 56 | +help: you may have meant to use `true` (notice the capitalization). Doing so makes this predicate evaluate to `true` unconditionally |
| 57 | + | |
| 58 | +LL - #[cfg(TRUE)] |
| 59 | +LL + #[cfg(true)] |
| 60 | + | |
| 61 | + |
| 62 | +warning: unexpected `cfg` condition name: `True` |
| 63 | + --> $DIR/false.rs:40:7 |
| 64 | + | |
| 65 | +LL | #[cfg(True)] |
| 66 | + | ^^^^ |
| 67 | + | |
| 68 | + = help: to expect this configuration use `--check-cfg=cfg(True)` |
| 69 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 70 | +help: you may have meant to use `true` (notice the capitalization). Doing so makes this predicate evaluate to `true` unconditionally |
| 71 | + | |
| 72 | +LL - #[cfg(True)] |
| 73 | +LL + #[cfg(true)] |
| 74 | + | |
| 75 | + |
| 76 | +warning: unexpected `cfg` condition name: `r#true` |
| 77 | + --> $DIR/false.rs:46:7 |
| 78 | + | |
| 79 | +LL | #[cfg(r#true)] |
| 80 | + | ^^^^^^ |
| 81 | + | |
| 82 | + = help: to expect this configuration use `--check-cfg=cfg(r#true)` |
| 83 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 84 | + |
| 85 | +warning: unexpected `cfg` condition name: `True` |
| 86 | + --> $DIR/false.rs:52:7 |
| 87 | + | |
| 88 | +LL | #[cfg(r#True)] |
| 89 | + | ^^^^^^ |
| 90 | + | |
| 91 | + = help: to expect this configuration use `--check-cfg=cfg(True)` |
| 92 | + = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg.html> for more information about checking conditional configuration |
| 93 | + |
| 94 | +warning: 8 warnings emitted |
| 95 | + |
0 commit comments