Rust: Const Generics Push and a Perf Revert
The type system team landed a cluster of interconnected changes advancing const generics as first-class type system citizens, while a separate perf regression forced a same-day revert of a drop-guard cleanup in core and alloc.
Duration: PT2M44S
Episode overview
This episode is a short developer briefing from Rust.
It explains recent repository work in plain language.
- Show: Rust
- Published: 2026-09-02T13:11:55Z
- Audio duration: PT2M44S
Transcript excerpt
This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.
Good day, and welcome to Rust, your developer briefing for September 2nd, 2026.
The clearest thread today is const generics moving deeper into the type system, with three PRs from khyperia building on each other in real time.
PR 161929 explicitly tracks inherent const generic argument kind, adding regular inherent consts under the generic const args feature flag. That same-day work immediately surfaced a problem: PR 162173 fixes a supposedly unreachable bug check that turned out to be reachable, caused by a normalization step in…
Second theme: routine but necessary correctness cleanup. PR 162162 removes special-casing for the never type in stability checks, closing out logic that's been technically wrong since the never type stabilized last week. PR 162071 fixes an internal compiler error tied to naming items from return-position impl trait…
On reliability: PR 162128 reverts a prior change that used drop-guard in core, alloc, and standard library code. The original change looked like a safe refactor but introduced generic closures where non-generic functions used to be, and that hurt performance. It was reverted same-day so a fix can be verified against…
Elsewhere, five rollup PRs…
Nearby episodes from Rust
- Rollup Traffic and a Stable Patch Backport
- LLVM Version Guardrails and Compiler Diagnostics Cleanup
- Weekly Recap - Diagnostics Cleanup and Cross-Platform Hardening
- Platform ABI Correctness Sweep
- Correctness Fixes Across ABI, Borrows, and Const Generics
- Clarity Cleanup and the Rollup Machine
- Compiler Internals Get a Deep Clean
- Pattern Matching Overhaul and the Rollup Machine