github rust-lang/rust-analyzer 2024-08-12

latest releases: nightly, 2024-11-18, 2024-11-11...
3 months ago

Commit: 0daeb5c
Release: 2024-08-12 (v0.3.2070)

New Features

  • #17791 add diagnostic for await outside of async.
  • #17795 load sysroot library via cargo metadata (for toolchains after 176e54520 2024-08-04).
  • #17775, #17824 segregate syntax and semantic diagnostics to improve latency.
  • #17771 load VFS config changes in parallel.

Fixes

  • #17802 supress type mismatches in calls with mismatched argument counts.
  • #17823 attach unconfigured diagnostics to the right file for modules.
  • #17784 support inlay hints for more expressions with labels.
  • #17844 respect non-std preference in find_path.
  • #17805 fix panic in path_transform with default type parameters.
  • #17813 fix type equality check for non-ADT types in usage search.
  • #17832 fix panic while rendering function type hint with impl Trait parameters.
  • #17818 support .rust-project.json in addition to rust-project.json.

Internal Improvements

  • #17825 offload diagnostics serialization to the task pool.
  • #17794 turn ErasedFileAstId into a newtype.
  • #17821 remove unnecessary CfgFlag definition in project-model.
  • #17809 include vendored crates in StaticIndex.
  • #17831 merge flycheck into the main rust-analyzer crate.
  • #17799 split out syntax-bridge into a separate crate.
  • #17772 reorganize debug.ts.
  • #17745, #17827 add missing repository and description fields to the crate manifests.
  • #17793 suggest installing the MSVC Redistributable in the manual.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.