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

5 hours ago

Commit: 566fe41
Release: 2026-03-02 (v0.3.2811)

Fixes

  • #21699 enable diagnostic for adding auto traits by casting *dyn Tr.
  • #21654 mark the RHS of compound assignments as ExprIsRead::Yes.
  • #21725 fix wrong condition in Visibility::min.
  • #21669 support Span::parent in proc macro expansion.
  • #21716 use -Zlockfile-path on pre-release 1.95 toolchains as well.
  • #21708 don't panic on invalid LSP notifications.
  • #21706 don't duplicate enum variants in pattern completion.
  • #21698 fix scrutinee indent in replace_if_let_with_match.

Internal Improvements

  • #21710, #21720 (first contribution) migrate fix_visibility and generate_derive assists to SyntaxEditor.
  • #21681 skip rustfmt test if nightly toolchain is missing.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.