github rust-lang/rust-analyzer 2026-02-02

11 hours ago

Commit: 7cb789d
Release: 2026-02-02 (v0.3.2777)

New Features

  • #21408 add support for default field values.
  • #21460 add support for #![feature(new_range)].

Fixes

  • #21564 fix upvar analysis of nested closures and re-enable unused_variables and unused_mut.
  • #21527 match => and == after meta in macros.
  • #21528 handle Self::EnumVariant and Self on traits in doclinks.
  • #21533 fix panic when an opaque was constrained to an impossible type in method autoderef.
  • #21555 clear diagnostics on panic.
  • #21542 complete inferred types in statics.
  • #21495 complete else before tuples.
  • #21513 use binding name for the new function in extract_function.
  • #21522 add semicolon in toggle_macro_delimiter.
  • #21514 handle continue in convert_range_for_to_while.
  • #21534 don't panic if spawning the workspace discovery command fails.

Internal Improvements

  • #21548 make JSON and postcard protocols explicit, drop generic Codec.
  • #21410 handle cancellation in bidirectional proc macro calls.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.