The Rust programming language releases its 2025 edition with long-awaited async trait support and dramatically improved compiler diagnostics.
The Rust programming language has released its 2025 edition, delivering two of the most requested features in the language's history: stable async traits and a completely rewritten diagnostic engine.
Rust 2025 stabilises the async fn in trait syntax, eliminating the need for the async-trait crate that has been a workaround for years.
The new diagnostic engine, codenamed Ariadne, produces error messages with contextual explanations and suggested fixes, dramatically reducing the learning curve for newcomers.
The 2025 edition is fully backwards compatible. Existing Rust 2021 projects can opt in by updating their Cargo.toml edition field.
Original source
Rust Blog
Share this article
No community notes yet
Be the first to add a technical insight.