github rust-lang/rust-analyzer 2023-12-04

latest releases: nightly, 2024-11-11, 2024-11-04...
11 months ago

Changelog #210

Commit: e402c49
Release: 2023-12-04 (v0.3.1756)

New Features

  • #15879 implement completion for callable fields:

    Screenshot showing a struct field of fn() type in the completion results

  • #16000 initial support for implicit drop inlay hints (rust-analyzer.inlayHints.implicitDrops.enable):

    Screenshot showing drop(var) inlay hints when var is dropped

Fixes

  • #15961 (first contribution) improve error handling for top-level let statements.
  • #15993 (first contribution) use package root as working directory when launching the debugger.
  • #15970 fix variant resolution through for type aliases.
  • #15994 report error on comma after base struct functional update syntax.
  • #15857 fix spacing after using "Remove redundant parentheses".
  • #15971 don't report missing match arms for empty match body.

Internal Improvements

  • #15946 (first contribution) simplify workspace de-duplication.
  • #15985 bump triomphe.
  • #15912 remove unused PhantomData.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.