Skip to content

Commit d9ae53d

Browse files
committed
Describe how to handle a rust-version
If someone has an older MSRV than `1.85`, the person will hit an error, so let's describe this step. We'd probably have done this as a sub bullet point, but the rendering of that does not look elegant.
1 parent a942db3 commit d9ae53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2024-11-27-Rust-2024-public-testing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ You can help right now to make this edition a success by testing Rust 2024 on yo
1515

1616
1. Install the most recent nightly with `rustup update nightly`.
1717
2. In your project, run `cargo +nightly fix --edition`.
18-
3. Edit `Cargo.toml` and change the edition field to say `edition = "2024"`.
18+
3. Edit `Cargo.toml` and change the edition field to say `edition = "2024"` and, if you have a `rust-version` specified, set `rust-version = "1.85"`.
1919
4. Run `cargo +nightly check` to verify your project now works in the new edition.
2020
5. Run some tests, and try out the new features!
2121

0 commit comments

Comments
 (0)