@@ -544,11 +544,6 @@ fn cfg_raw_idents() {
544
544
545
545
p. cargo ( "check" )
546
546
. with_stderr_data ( str![ [ r#"
547
- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(r#true)` will change in the future
548
- | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
549
- | In the future these will be built-in defines that will have the corresponding true/false value.
550
- | It is recommended to avoid using these configs until they are properly supported.
551
- | See <https://github.com/rust-lang/rust/issues/131204> for more information.
552
547
[LOCKING] 1 package to latest compatible version
553
548
[CHECKING] foo v0.1.0 ([ROOT]/foo)
554
549
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -648,11 +643,15 @@ fn cfg_keywords() {
648
643
| In the future these will be built-in defines that will have the corresponding true/false value.
649
644
| It is recommended to avoid using these configs until they are properly supported.
650
645
| See <https://github.com/rust-lang/rust/issues/131204> for more information.
646
+ |
647
+ | [HELP] use raw-idents instead: `cfg(r#true)`
651
648
[WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
652
649
| Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
653
650
| In the future these will be built-in defines that will have the corresponding true/false value.
654
651
| It is recommended to avoid using these configs until they are properly supported.
655
652
| See <https://github.com/rust-lang/rust/issues/131204> for more information.
653
+ |
654
+ | [HELP] use raw-idents instead: `cfg(r#false)`
656
655
[LOCKING] 1 package to latest compatible version
657
656
[CHECKING] foo v0.1.0 ([ROOT]/foo)
658
657
[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments