
Rustacean Station What's New in Rust 1.81 through 1.84
30 snips
Oct 29, 2025 Explore the exciting updates in Rust releases 1.81 to 1.84! Discover the new core::error::Error integration and revamped sorting methods that enhance performance. Learn about stricter lint handling with #[expect(lint)], and the stabilization of APIs like Duration::abs_diff. The discussion highlights improvements in Cargo features, panic handling changes, and newfound pointer safety with the native raw-pointer syntax. Plus, get insights on Unicode 16 upgrades and the introduction of new emoji. A knowledge-packed session for Rust enthusiasts!
AI Snips
Chapters
Transcript
Episode notes
Error Trait In Core Feels Like Completion
- Moving core::error::Error into core reduces friction for no_std code and feels like a language completeness milestone.
- Jon Gjengset and Ben Striegel highlight the long design path and backtrace complexity required to make this possible.
New Rust Sorts Improve Speed And Safety
- Rust replaced sort implementations with DriftSort and IPN sort to gain faster runtime and compile times and to validate Ord implementations.
- The new sorts also detect incorrect, non-deterministic Ord behavior at runtime in debug builds.
Prefer expect Over allow For Lints
- Replace allow lints with expect where you want to silence a lint but be alerted if it disappears.
- Use expect to avoid leaving vestigial allow attributes and to get errors if the lint stops triggering.
