github rust-lang/rust-analyzer 2026-05-25

6 hours ago

Commit: de5824b
Release: 2026-05-25 (v0.3.2913)

New Features

  • #22406 (first contribution) add mutable-ref diagnostic.
  • #22424 (first contribution) add array-pattern-without-fixed-length diagnostic.
  • #22404 add cannot-index-into diagnostics.
  • #22416 support excluding subitems from completions.

Performance Improvements

  • #22322 improve incrementality for modules.

Fixes

  • #22432 (first contribution) filter package-scoped features in flycheck.
  • #22430 (first contribution) saturate float to uint cast in const eval.
  • #22415 (first contribution) allow wildcard parameters in foreign function declarations.
  • #22252 refactor handling of generic parameters in hir::Type.
  • #22396 support named consts in range pattern types.
  • #22392 don't try autoref during method probe in path mode.
  • #22385 auto-import enum variants.
  • #22425 expected tuple struct pattern field in expected type completions.
  • #22397 complete macro paths in macro calls.
  • #22399 fix ref_match completions in macro calls.
  • #22408 don't complete semicolon in match expression.
  • #22419 use grouped annotation in add_label_to_loop.
  • #22369 use wildcard on sad path in replace_if_let_with_match with guard.
  • #22383 return a specific error for unimplemented built-in macros.

Internal Improvements

  • #22420 clean up bidirectional proc macro server protocol.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.