File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ fn unset_edition_with_unset_rust_version() {
135135
136136 p. cargo ( "check -v" )
137137 . with_stderr_data ( str![ [ r#"
138- [WARNING] no edition set: defaulting to the 2015 edition while the latest is 2024
138+ [WARNING] no edition set: defaulting to the 2015 edition while the latest is [..]
139139[CHECKING] foo v0.1.0 ([ROOT]/foo)
140140[RUNNING] `rustc [..] --edition=2015 [..]`
141141[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
Original file line number Diff line number Diff line change @@ -142,6 +142,7 @@ fn duplicate_version() {
142142 [package]
143143 name = "foo"
144144 version = "0.0.1"
145+ edition = "2015"
145146 authors = []
146147 license = "MIT"
147148 description = "foo"
@@ -160,7 +161,6 @@ See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for
160161[PACKAGING] foo v0.0.1 ([ROOT]/foo)
161162[PACKAGED] 4 files, [FILE_SIZE]B ([FILE_SIZE]B compressed)
162163[VERIFYING] foo v0.0.1 ([ROOT]/foo)
163- [WARNING] no edition set: defaulting to the 2015 edition while the latest is 2024
164164[COMPILING] foo v0.0.1 ([ROOT]/foo/target/package/foo-0.0.1)
165165[FINISHED] `dev` profile [unoptimized + debuginfo] target(s) in [ELAPSED]s
166166[UPLOADING] foo v0.0.1 ([ROOT]/foo)
You can’t perform that action at this time.
0 commit comments