Rust: Major Compiler Cleanup and Documentation Updates
Seven pull requests merged on May 22nd, 2026, including removal of an unsound compiler feature, stabilization of rustdoc path remapping, and significant VecDeque improvements. The changes focus on compiler safety and documentation tooling enhancements.
Duration: PT1M49S
Transcript
Good morning. This is your Rust development briefing for May 22nd, 2026.
Seven pull requests were merged yesterday, led by significant compiler and tooling improvements.
Jamesbarford merged the removal of the unsound `target_feature_inline_always` feature. This feature relied on LLVM's AlwaysInlinerPass running before the heuristic-based inliner, which created an unsound foundation for code generation. The change removes 448 lines of code across 19 files and updates stdarch generators to use standard inline attributes.
Urgau merged the stabilization of `--remap-path-prefix` in rustdoc. This feature allows developers to remap source path prefixes in all rustdoc output, including documentation and doctests. It's particularly useful for normalizing build products across different environments.
Kobzol merged improvements to VecDeque using strongly typed wrapped indices. This change adds 364 lines of new code to prevent indexing bugs and would have prevented issues found in previous releases. The implementation includes updates to debugging tools and test frameworks.
ariagivens merged a fix to preserve "unsafe" keywords in compiler help text when encountering malformed attributes, improving error message clarity for developers.
Additional merges included a Clippy backport with two important fixes by flip1995, and an LLVM update to version 22.1.6 by dianqk, which resolves issue #150676.
What's next: The compiler continues moving toward safer defaults and better error reporting. Documentation tooling gets more robust path handling capabilities.
That's your Rust briefing. Stay updated at rust-lang.org.