The Wire · Showcase
RUST 1.96 FIXES MANUALLYDROP BOX FOOTGUN, COMPILER CLEANS UP LINT NOISE
By RepoJournal · Filed · About Rust
The long-awaited fix for ManuallyDrop's Box interaction shipped in 1.96.0, finally closing the book on one of Rust's most unexpected footguns.
Two critical PRs that landed in 1.96.0 resolve the unfortunate behavior when ManuallyDrop wraps a Box [1], a combination that previously triggered unintuitive drops. Separately, the compiler is tightening its unused_parens lint after discovering it was aggressively trimming spans that proc-macros synthesized [2]. The fix prevents false-positive suggestions when parentheses around bounds don't actually exist in source code [3]. On the FFI front, LLVM va_end calls are being removed as dead code [4], closing out a tracking issue and simplifying variadic argument handling. Meanwhile, the reference documentation corrected a typo in the undefined behavior section [5]. The crates.io ecosystem continues steady iteration with updates to sqry plugin registry and language tooling [6], including a new FIPS-compliant TLS crate [7].
Action items
- → Upgrade to Rust 1.96.0 if you use ManuallyDrop<Box<T>> patterns rust-lang/rust [plan]
- → Review proc-macro code that synthesizes bounds - your lint warnings may change rust-lang/rust [monitor]
References
- [1] Rollup merge of #155750 - WaffleLapkin:manually-drop-unbox, r=jhpratt rust-lang/rust
- [2] Rollup merge of #157692 - sanidhyasin:fix-unused-parens-proc-macro-span, r=mejrs rust-lang/rust
- [3] Don't trim non-parenthesis spans in unused_parens for bounds rust-lang/rust
- [4] Rollup merge of #157627 - folkertdev:remove-llvm-va_end, r=RalfJung rust-lang/rust
- [5] undefined: fix typo ↗ rust-lang/reference
- [6] Update crate `sqry-plugin-registry` rust-lang/crates.io-index
- [7] Create crate `usg-fips-tls` rust-lang/crates.io-index
FAQ
- What changed in Rust on June 16, 2026?
- The long-awaited fix for ManuallyDrop's Box interaction shipped in 1.96.0, finally closing the book on one of Rust's most unexpected footguns.
- What should Rust teams do about it?
- Upgrade to Rust 1.96.0 if you use ManuallyDrop<Box<T>> patterns • Review proc-macro code that synthesizes bounds - your lint warnings may change
- Which Rust repositories shipped on June 16, 2026?
- rust-lang/rust, rust-lang/reference, rust-lang/crates.io-index