@@ -612,7 +612,7 @@ foo v0.0.1 ([ROOT]/foo)
612612 . run ( ) ;
613613}
614614
615- #[ cargo_test( nightly , reason = "edition2024 in rustc is unstable" ) ]
615+ #[ cargo_test]
616616fn resolve_v3 ( ) {
617617 Package :: new ( "only-newer" , "1.6.0" )
618618 . rust_version ( "1.65.0" )
@@ -631,8 +631,6 @@ fn resolve_v3() {
631631 . file (
632632 "Cargo.toml" ,
633633 r#"
634- cargo-features = ["edition2024"]
635-
636634 [package]
637635 name = "foo"
638636 version = "0.0.1"
@@ -651,7 +649,6 @@ fn resolve_v3() {
651649
652650 // v3 should resolve for MSRV
653651 p. cargo ( "generate-lockfile" )
654- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
655652 . with_stderr_data ( str![ [ r#"
656653[UPDATING] `dummy-registry` index
657654[LOCKING] 2 packages to latest Rust 1.60.0 compatible versions
@@ -661,7 +658,6 @@ fn resolve_v3() {
661658"# ] ] )
662659 . run ( ) ;
663660 p. cargo ( "tree" )
664- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
665661 . with_stdout_data ( str![ [ r#"
666662foo v0.0.1 ([ROOT]/foo)
667663├── newer-and-older v1.5.0
@@ -677,10 +673,8 @@ foo v0.0.1 ([ROOT]/foo)
677673[LOCKING] 2 packages to latest compatible versions
678674
679675"# ] ] )
680- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
681676 . run ( ) ;
682677 p. cargo ( "tree" )
683- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
684678 . with_stdout_data ( str![ [ r#"
685679foo v0.0.1 ([ROOT]/foo)
686680├── newer-and-older v1.6.0
@@ -697,29 +691,13 @@ foo v0.0.1 ([ROOT]/foo)
697691[LOCKING] 2 packages to latest compatible versions
698692
699693"# ] ] )
700- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
701694 . run ( ) ;
702695 p. cargo ( "tree" )
703- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
704696 . with_stdout_data ( str![ [ r#"
705697foo v0.0.1 ([ROOT]/foo)
706698├── newer-and-older v1.6.0
707699└── only-newer v1.6.0
708700
709- "# ] ] )
710- . run ( ) ;
711-
712- // unstable
713- p. cargo ( "generate-lockfile" )
714- . with_status ( 101 )
715- . with_stderr_data ( str![ [ r#"
716- [ERROR] failed to parse manifest at `[ROOT]/foo/Cargo.toml`
717-
718- Caused by:
719- the cargo feature `edition2024` requires a nightly version of Cargo, but this is the `stable` channel
720- See https://doc.rust-lang.org/book/appendix-07-nightly-rust.html for more information about Rust release channels.
721- See https://doc.rust-lang.org/cargo/reference/unstable.html#edition-2024 for more information about using this feature.
722-
723701"# ] ] )
724702 . run ( ) ;
725703}
@@ -946,7 +924,7 @@ fn cargo_install_ignores_msrv_config() {
946924 . run ( ) ;
947925}
948926
949- #[ cargo_test( nightly , reason = "edition2024 in rustc is unstable" ) ]
927+ #[ cargo_test]
950928fn cargo_install_ignores_resolver_v3_msrv_change ( ) {
951929 Package :: new ( "dep" , "1.0.0" )
952930 . rust_version ( "1.50" )
@@ -958,14 +936,12 @@ fn cargo_install_ignores_resolver_v3_msrv_change() {
958936 . publish ( ) ;
959937 Package :: new ( "foo" , "0.0.1" )
960938 . rust_version ( "1.60" )
961- . cargo_feature ( "edition2024" )
962939 . resolver ( "3" )
963940 . file ( "src/main.rs" , "fn main() {}" )
964941 . dep ( "dep" , "1" )
965942 . publish ( ) ;
966943
967944 cargo_process ( "install foo" )
968- . masquerade_as_nightly_cargo ( & [ "edition2024" ] )
969945 . with_stderr_data ( str![ [ r#"
970946[UPDATING] `dummy-registry` index
971947[DOWNLOADING] crates ...
0 commit comments