github rust-lang/rust-analyzer 2025-01-06

latest releases: 2025-01-08, nightly, 2025-01-07...
one day ago

Commit: 3f2bbe9
Release: 2025-01-06 (v0.3.2249)

New Features

  • #18757 add support for updating expect-test, insta and snapbox snapshot tests.
  • #18179 allow excluding specific traits from completion.
  • #18801 show "Go to type definition" actions for generics substitutions on hover.
  • #18821 add support for CoercePointee.

Fixes

  • #18806 (first contribution) re-enable crate graph de-duplication.
  • #18797 (first contribution) generate exhaustive match in "Replace if-let with match".
  • #18758 (first contribution) improve SCIP symbols.
  • #18835 hide synthetic locals from completions.
  • #18791 avoid generating colliding names in "Extract variable".
  • #18794 fix "Fill match arm" producing an extra brace in some proc macros.
  • #18802 use the correct file_id used for ranges for outgoing calls.
  • #18807, #18841 populate cargo config environment variables.
  • #18826, #18848, #18817 properly clear flycheck diagnostics.
  • #18819 fix overflow detection in MIR evaluation.
  • #18843 correctly handle new-style rustc_intrinsic safety.
  • #18845 check the right package in flycheck.
  • #18795, #18820 fix rendering of literals in code blocks.
  • #18836 be more permissive with completion resolve data.
  • #18830 fix custom snippet deserialization.

Internal Improvements

  • #18822 (first contribution) allow targetDir to be an absolute path.
  • #18327, #18852 store token trees in contiguous Vec instead of as a tree.
  • #18809 do not render closure ids in hover messages.
  • #18790 define a quoting mechanism instead of textual AST make.
  • #18805 implement <RaSpanServer as SourceFile>::eq.
  • #18792 decouple proc macro server protocol from the server implementation.
  • #18829, #18831 revert 'revert "disable rustc test metrics"'.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.