github rust-lang/rust-analyzer 2024-10-28

latest releases: nightly, 2024-11-18, 2024-11-11...
26 days ago

Commit: 3b3a87f
Release: 2024-10-28 (v0.3.2162)

A Note on Windows Artifacts

The next release will stop including .gz artifacts for Windows.
These are harder to use than the .zip ones, which should be used instead.

New Features

  • #18294 (first contribution) support Option in "Wrap/Unwrap return type".
  • #18362, #18370 (first contribution) support "Go to definition" on range operators and patterns.
  • #18359 (first contribution) add option to not start the server on initialization.
  • #18264 implement mixed-site hygiene.
  • #18404, #18408 implement pull model for diagnostics.
  • #18349 render aliased type documentation when alias doesn't have any.
  • #18418 split macro-error diagnostic so users can ignore parts of it.

Fixes

  • #18407 (first contribution) fix formatting on welcome page.
  • #18376 add text edits to more inlay hints.
  • #18361 fix token downmapping failing for include! inputs.
  • #18254 nail destructuring assignment down once and for all.
  • #18337 don't show private items from modules nested in blocks in completions.
  • #18360 improve completions for extern blocks.
  • #18371 fix parsing of use bounds.
  • #18388 Fix checking for false labelDetailsSupport value.
  • #18395 add missing target_has_atomic and target_has_atomic_load_store cfg flags.
  • #18390 prevent public re-exports of private items.
  • #18417 correctly handle #"" before the 2024 edition.
  • #18419 put leading | in patterns under OrPat.
  • #18415 mark "Remove dbg!" as a quick fix for better prioritization.
  • #18366 fix Markdown display in status bar message.
  • #18399 respect config to disable native diagnostics.
  • #18386 don't crash when local time offset is unavailable.

Internal Improvements

  • #18372 (first contribution) switch CI from bors to merge queues.
  • #18373 merge separate inlay hints targeting the same range.
  • #18391 log original syntax on panic.
  • #18394, #18396 pretty-print Config in "Status" command.
  • #18402 improve proc macro error message for failed build scripts.
  • #18410 invert token iteration order in macro mapping.
  • #17954 update rustc-hash to version 2.
  • #18392 swap query call order in file_item_tree_query to help with caching issue.
  • #18409 only construct a resolver during macro descension when needed.
  • #18368 add test for LSIF macro-generated constants.
  • #18405 update changelog generation for merge queues.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.