Radar · Rust · Archive · Week 22 · May 25 – 31, 2026
Rust 1.96.0 Released
Worth knowingcompiler
- What changed
- The Rust team released version 1.96.0, the latest stable release.
- Production impact
- The source does not say.
- Try it
- Run
rustc --versionto confirm you are on 1.96.0. - Source
- blog.rust-lang.org/2026/05/28/Rust-1.96.0/
Understand it, then run it
Rust 1.96.0 adds new range types in the standard library. They live in core::range and can be copied, unlike the old std::ops::Range types. You can now store a range inside a Copy struct, which is handy for things like a slice view. The change also introduces two new macros, assert_matches! and debug_assert_matches!, that help test whether a value fits a pattern and give clearer error messages.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed