Changelog #330

Commit: c5d30e2
Release: 2026-06-01 (v0.3.2921)

New Features

  • #22411 add cannot-implicitly-deref-trait-object diagnostic.

Performance Improvements

  • #22493 make MemDocs cheap to clone since it’s snapshotted.

Fixes

  • #22473 port block and loop inference from rustc.

  • #22476 only complete functional record update at the end of the literal.

  • #22449 fix an expected analysis regression with enum variants.

  • #22409, #22453 filter out reference completions for generic reference parameters.

  • #22452 prioritize missing fields in pattern completion.

  • #22437 handle macros in extract_module.

  • #22447 fix extract_variable in macro calls.

  • #22498 also consider library features internal.

  • #22426 fix potential panic in CfgDiff formatting.

  • #22342 don’t double references with &mut T in add_reference_here.

  • #21566 fix SyntaxContext roots potentially overlapping interneds.

Internal Improvements

  • #22465 improve syntax mapping in for loop desugaring.

  • #22474 intern MIR projections using the new type interning infrastructure.

  • #22477, #22484 replace ast::make with SyntaxFactory in derive_macro, edits, prettify_macro_expansion_ and rename.

  • #22500 always use sysroot crates for proc-macro-srv.

  • #22427 fix inactive region handling in MiniCore.

  • #22501 don’t depend on salsa for the proc-macro-srv CI job.

  • #22492, #22502 use 1 CGU for release builds.