@@ -545,6 +545,7 @@ fn cfg_raw_idents() {
545545    p. cargo ( "check" ) 
546546        . with_stderr_data ( str![ [ r#" 
547547[LOCKING] 1 package to latest compatible version 
548+ [CHECKING] b v0.0.1 ([ROOT]/foo/b) 
548549[CHECKING] foo v0.1.0 ([ROOT]/foo) 
549550[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
550551
@@ -638,21 +639,8 @@ fn cfg_keywords() {
638639
639640    p. cargo ( "check" ) 
640641        . with_stderr_data ( str![ [ r#" 
641- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
642-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
643-  | In the future these will be built-in defines that will have the corresponding true/false value. 
644-  | It is recommended to avoid using these configs until they are properly supported. 
645-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
646-  | 
647-  | [HELP] use raw-idents instead: `cfg(r#true)` 
648- [WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future 
649-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
650-  | In the future these will be built-in defines that will have the corresponding true/false value. 
651-  | It is recommended to avoid using these configs until they are properly supported. 
652-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
653-  | 
654-  | [HELP] use raw-idents instead: `cfg(r#false)` 
655642[LOCKING] 1 package to latest compatible version 
643+ [CHECKING] b v0.0.1 ([ROOT]/foo/b) 
656644[CHECKING] foo v0.1.0 ([ROOT]/foo) 
657645[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
658646
@@ -687,23 +675,9 @@ fn cfg_booleans() {
687675        . build ( ) ; 
688676
689677    p. cargo ( "check" ) 
690-         // FIXME: `b` should be compiled 
691678        . with_stderr_data ( str![ [ r#" 
692- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future 
693-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
694-  | In the future these will be built-in defines that will have the corresponding true/false value. 
695-  | It is recommended to avoid using these configs until they are properly supported. 
696-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
697-  | 
698-  | [HELP] use raw-idents instead: `cfg(r#false)` 
699- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
700-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
701-  | In the future these will be built-in defines that will have the corresponding true/false value. 
702-  | It is recommended to avoid using these configs until they are properly supported. 
703-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
704-  | 
705-  | [HELP] use raw-idents instead: `cfg(r#true)` 
706679[LOCKING] 2 packages to latest compatible versions 
680+ [CHECKING] b v0.0.1 ([ROOT]/foo/b) 
707681[CHECKING] a v0.0.1 ([ROOT]/foo) 
708682[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
709683
@@ -735,13 +709,6 @@ fn cfg_booleans_config() {
735709
736710    p. cargo ( "check" ) 
737711        . with_stderr_data ( str![ [ r#" 
738- [WARNING] [.cargo/config.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
739-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
740-  | In the future these will be built-in defines that will have the corresponding true/false value. 
741-  | It is recommended to avoid using these configs until they are properly supported. 
742-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
743-  | 
744-  | [HELP] use raw-idents instead: `cfg(r#true)` 
745712[CHECKING] a v0.0.1 ([ROOT]/foo) 
746713[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
747714
@@ -772,13 +739,6 @@ fn cfg_booleans_not() {
772739
773740    p. cargo ( "check" ) 
774741        . with_stderr_data ( str![ [ r#" 
775- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future 
776-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
777-  | In the future these will be built-in defines that will have the corresponding true/false value. 
778-  | It is recommended to avoid using these configs until they are properly supported. 
779-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
780-  | 
781-  | [HELP] use raw-idents instead: `cfg(r#false)` 
782742[LOCKING] 1 package to latest compatible version 
783743[CHECKING] b v0.0.1 ([ROOT]/foo/b) 
784744[CHECKING] a v0.0.1 ([ROOT]/foo) 
@@ -810,30 +770,9 @@ fn cfg_booleans_combinators() {
810770        . build ( ) ; 
811771
812772    p. cargo ( "check" ) 
813-         // FIXME: `b` should be compiled 
814773        . with_stderr_data ( str![ [ r#" 
815- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
816-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
817-  | In the future these will be built-in defines that will have the corresponding true/false value. 
818-  | It is recommended to avoid using these configs until they are properly supported. 
819-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
820-  | 
821-  | [HELP] use raw-idents instead: `cfg(r#true)` 
822- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future 
823-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
824-  | In the future these will be built-in defines that will have the corresponding true/false value. 
825-  | It is recommended to avoid using these configs until they are properly supported. 
826-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
827-  | 
828-  | [HELP] use raw-idents instead: `cfg(r#false)` 
829- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
830-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
831-  | In the future these will be built-in defines that will have the corresponding true/false value. 
832-  | It is recommended to avoid using these configs until they are properly supported. 
833-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
834-  | 
835-  | [HELP] use raw-idents instead: `cfg(r#true)` 
836774[LOCKING] 1 package to latest compatible version 
775+ [CHECKING] b v0.0.1 ([ROOT]/foo/b) 
837776[CHECKING] a v0.0.1 ([ROOT]/foo) 
838777[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
839778
@@ -868,26 +807,10 @@ fn cfg_booleans_rustflags_no_effect() {
868807        . build ( ) ; 
869808
870809    p. cargo ( "check" ) 
871-         // FIXME: only `b` should be compiled, the rustflags don't take effect 
872810        . env ( "RUSTFLAGS" ,  "--cfg false" ) 
873811        . with_stderr_data ( str![ [ r#" 
874- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(false)` will change in the future 
875-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
876-  | In the future these will be built-in defines that will have the corresponding true/false value. 
877-  | It is recommended to avoid using these configs until they are properly supported. 
878-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
879-  | 
880-  | [HELP] use raw-idents instead: `cfg(r#false)` 
881- [WARNING] [[ROOT]/foo/Cargo.toml] future-incompatibility: the meaning of `cfg(true)` will change in the future 
882-  | Cargo is erroneously allowing `cfg(true)` and `cfg(false)`, but both forms are interpreted as false unless manually overridden with `--cfg`. 
883-  | In the future these will be built-in defines that will have the corresponding true/false value. 
884-  | It is recommended to avoid using these configs until they are properly supported. 
885-  | See <https://github.com/rust-lang/rust/issues/131204> for more information. 
886-  | 
887-  | [HELP] use raw-idents instead: `cfg(r#true)` 
888812[LOCKING] 2 packages to latest compatible versions 
889813[CHECKING] b v0.0.1 ([ROOT]/foo/b) 
890- [CHECKING] c v0.0.1 ([ROOT]/foo/c) 
891814[CHECKING] a v0.0.1 ([ROOT]/foo) 
892815[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s 
893816
0 commit comments