@@ -553,8 +553,7 @@ fn resolve_edition2024() {
553
553
554
554
// Edition2024 should resolve for MSRV
555
555
p. cargo ( "generate-lockfile" )
556
- . arg ( "-Zmsrv-policy" )
557
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
556
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
558
557
. with_stderr_data ( str![ [ r#"
559
558
[UPDATING] `dummy-registry` index
560
559
[LOCKING] 2 packages to latest Rust 1.60.0 compatible versions
@@ -564,8 +563,7 @@ fn resolve_edition2024() {
564
563
"# ] ] )
565
564
. run ( ) ;
566
565
p. cargo ( "tree" )
567
- . arg ( "-Zmsrv-policy" )
568
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
566
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
569
567
. with_stdout_data ( str![ [ r#"
570
568
foo v0.0.1 ([ROOT]/foo)
571
569
├── newer-and-older v1.5.0
@@ -581,12 +579,10 @@ foo v0.0.1 ([ROOT]/foo)
581
579
[LOCKING] 2 packages to latest compatible versions
582
580
583
581
"# ] ] )
584
- . arg ( "-Zmsrv-policy" )
585
- . masquerade_as_nightly_cargo ( & [ "msrv-policy" ] )
582
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
586
583
. run ( ) ;
587
584
p. cargo ( "tree" )
588
- . arg ( "-Zmsrv-policy" )
589
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
585
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
590
586
. with_stdout_data ( str![ [ r#"
591
587
foo v0.0.1 ([ROOT]/foo)
592
588
├── newer-and-older v1.6.0
@@ -603,12 +599,10 @@ foo v0.0.1 ([ROOT]/foo)
603
599
[LOCKING] 2 packages to latest compatible versions
604
600
605
601
"# ] ] )
606
- . arg ( "-Zmsrv-policy" )
607
- . masquerade_as_nightly_cargo ( & [ "msrv-policy" ] )
602
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
608
603
. run ( ) ;
609
604
p. cargo ( "tree" )
610
- . arg ( "-Zmsrv-policy" )
611
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
605
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
612
606
. with_stdout_data ( str![ [ r#"
613
607
foo v0.0.1 ([ROOT]/foo)
614
608
├── newer-and-older v1.6.0
@@ -657,8 +651,7 @@ fn resolve_v3() {
657
651
658
652
// v3 should resolve for MSRV
659
653
p. cargo ( "generate-lockfile" )
660
- . arg ( "-Zmsrv-policy" )
661
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
654
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
662
655
. with_stderr_data ( str![ [ r#"
663
656
[UPDATING] `dummy-registry` index
664
657
[LOCKING] 2 packages to latest Rust 1.60.0 compatible versions
@@ -668,8 +661,7 @@ fn resolve_v3() {
668
661
"# ] ] )
669
662
. run ( ) ;
670
663
p. cargo ( "tree" )
671
- . arg ( "-Zmsrv-policy" )
672
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
664
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
673
665
. with_stdout_data ( str![ [ r#"
674
666
foo v0.0.1 ([ROOT]/foo)
675
667
├── newer-and-older v1.5.0
@@ -685,12 +677,10 @@ foo v0.0.1 ([ROOT]/foo)
685
677
[LOCKING] 2 packages to latest compatible versions
686
678
687
679
"# ] ] )
688
- . arg ( "-Zmsrv-policy" )
689
- . masquerade_as_nightly_cargo ( & [ "msrv-policy" ] )
680
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
690
681
. run ( ) ;
691
682
p. cargo ( "tree" )
692
- . arg ( "-Zmsrv-policy" )
693
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
683
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
694
684
. with_stdout_data ( str![ [ r#"
695
685
foo v0.0.1 ([ROOT]/foo)
696
686
├── newer-and-older v1.6.0
@@ -707,12 +697,10 @@ foo v0.0.1 ([ROOT]/foo)
707
697
[LOCKING] 2 packages to latest compatible versions
708
698
709
699
"# ] ] )
710
- . arg ( "-Zmsrv-policy" )
711
- . masquerade_as_nightly_cargo ( & [ "msrv-policy" ] )
700
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
712
701
. run ( ) ;
713
702
p. cargo ( "tree" )
714
- . arg ( "-Zmsrv-policy" )
715
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
703
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
716
704
. with_stdout_data ( str![ [ r#"
717
705
foo v0.0.1 ([ROOT]/foo)
718
706
├── newer-and-older v1.6.0
@@ -977,8 +965,7 @@ fn cargo_install_ignores_resolver_v3_msrv_change() {
977
965
. publish ( ) ;
978
966
979
967
cargo_process ( "install foo" )
980
- . arg ( "-Zmsrv-policy" )
981
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
968
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
982
969
. with_stderr_data ( str![ [ r#"
983
970
[UPDATING] `dummy-registry` index
984
971
[DOWNLOADING] crates ...
@@ -1017,8 +1004,7 @@ fn cargo_install_ignores_edition_2024_msrv_change() {
1017
1004
. publish ( ) ;
1018
1005
1019
1006
cargo_process ( "install foo" )
1020
- . arg ( "-Zmsrv-policy" )
1021
- . masquerade_as_nightly_cargo ( & [ "edition2024" , "msrv-policy" ] )
1007
+ . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
1022
1008
. with_stderr_data ( str![ [ r#"
1023
1009
[UPDATING] `dummy-registry` index
1024
1010
[DOWNLOADING] crates ...
0 commit comments