Rust 2024 in beta channel

Jan. 22, 2025 · TC & Eric Huss on behalf of the Edition 2024 Project Group

Rust 2024 in beta channel

The next edition, Rust 2024, has entered the beta channel. It will live there until 2025-02-20, when Rust 1.85 and Rust 2024 will be released as stable.

We're really happy with how Rust 2024 has turned out, and we're looking forward to putting it in your hands.

You can get a head start in preparing your code for the new edition, and simultaneously help us with final testing of Rust 2024, by following these steps within a project:

  1. Run rustup update beta.
  2. Run cargo update.
  3. Run cargo +beta fix --edition.
  4. Set edition = "2024" and, if needed, rust-version = "1.85", in Cargo.toml.
  5. Run cargo +beta check, address any remaining warnings, and then run other tests.

More details on how to migrate can be found here and within each of the chapters describing the changes in Rust 2024. For more on the changes themselves, see the Edition Guide.

If you encounter any problems or see areas where we could make the experience better, tell us about it by filing an issue.