Rust: Const Generics Cleanup and Compiler Housekeeping

The compiler team retired the experimental `type const` syntax in favor of a clearer const item model, while a wave of rollups tackled resolver naming, attribute parsing, and cross-crate dependency cleanup. Nearly a dozen smaller PRs landed together, signaling active consolidation ahead of a larger refactor push.

Duration: PT2M47S

Episode overview

This episode is a short developer briefing from Rust.

It explains recent repository work in plain language.

  • Show: Rust
  • Published: 2026-09-12T13:10:34Z
  • Audio duration: PT2M47S

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 for September 12th, 2026.

The clearest thread today is const generics finding its footing. PR 162517 from khyperia removes the `type const` syntax entirely, replacing it with a direct const argument macro, and introduces a new always-G-C-A attribute. That's paired with PR 162541 from BoxyUwU, which splits the "macroless generic const args"…

Second theme: naming and structural cleanup across the type system and front end. Jdonszelmann's PR 162126 renames resolver functions for consistency and adds documentation, explicitly split off from a larger logic-only follow-up. In a similar spirit, obeis reworked the non-exhaustive attribute check to use the…

Third: dependency and architecture tidying. Zalathar's PR 162678 disconnects codegen S-S-A from M-I-R transform, replacing a direct crate dependency with a type-context hook, with no expected output change. JonathanBrouwer's PR 162641 removes unused function arguments that were hidden behind the trace instrument…

On the backend side, antoyo's PR 160023 finishes refactoring how indirect returns are handled in code generation, fixing a brittle workaround that previously broke on ARM, clearing a path for the…

Five…

Nearby episodes from Rust

  1. Trait Solver Cleanup and Rollup Traffic
  2. Correctness Cleanups and Compiler Safety Nets
  3. Trait Solver Correctness Gets a Careful Walk-Back
  4. Determinism, Reflection, and the ABI Edge Cases
  5. Generic Float Intrinsics and Const Safety Cleanup
  6. Weekly Recap - Cleaning House: Debugger Support, Safety Audits, and Infrastructure Polish
  7. Soundness, Structure, and the Coverage Rewrite
  8. Rollup Traffic and Infrastructure Patchwork