@@ -544,11 +544,6 @@ fn cfg_raw_idents() {
544544
545545 p. cargo ( "check" )
546546 . 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.
552547[LOCKING] 1 package to latest compatible version
553548[CHECKING] foo v0.1.0 ([ROOT]/foo)
554549[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
@@ -648,11 +643,15 @@ fn cfg_keywords() {
648643 | In the future these will be built-in defines that will have the corresponding true/false value.
649644 | It is recommended to avoid using these configs until they are properly supported.
650645 | See <https://github.com/rust-lang/rust/issues/131204> for more information.
646+ |
647+ | [HELP] use raw-idents instead: `cfg(r#true)`
651648[WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future
652649 | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`.
653650 | In the future these will be built-in defines that will have the corresponding true/false value.
654651 | It is recommended to avoid using these configs until they are properly supported.
655652 | See <https://github.com/rust-lang/rust/issues/131204> for more information.
653+ |
654+ | [HELP] use raw-idents instead: `cfg(r#false)`
656655[LOCKING] 1 package to latest compatible version
657656[CHECKING] foo v0.1.0 ([ROOT]/foo)
658657[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
0 commit comments