github rust-lang/rust-analyzer 2024-09-02

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

Commit: 779d9ee
Release: 2024-09-02 (v0.3.2096)

New Features

  • #17814, #17999 implement object-safety and add it to hover.
  • #17940, #17941 implement "Convert closure to function" assist.
  • #17757 implement "Toggle macro delimiters" assist.
  • #17985 implement "Add explicit enum discriminants" assist.
  • #18006 add an option to hide deprecated items from completion.
  • #18010 support function types in lifetime elision hints.

Fixes

  • #17972 revert "#17936 implement module_path!".
  • #17994 fix TokenStream::to_string implementation dropping quotation marks.
  • #17987 fix resolution of shadowed built-in macros.
  • #17963 show error lifetime arguments as '_.
  • #17737 sprinkle some sugar on async impl Trait completions.
  • #17970 fix "Unwrap block" for blocks with modifiers.
  • #17991 don't add unnecessary reference in "Extract variable".
  • #17973 expand proc macros in workspace, not package root.
  • #17993 keep field attributes when converting between tuples and named structs.
  • #17982 consider indentation in "Generate impl" and "Generate trait impl".
  • #18015 handle attributes in "Flip comma".
  • #18003 do not report missing unsafe on addr_of!(EXTERN_OR_MUT_STATIC).
  • #18005 don't suggest for loops in impl T for A in function bodies.
  • #17962 update return type syntax to match compiler.
  • #17988 fix incorrect symbol definitions in SCIP output.

Internal Improvements

  • #17975, #18009 (first contribution) do not assume rustup is installed in xtask codegen.
  • #18008, #18012 make inlay hint resolution more reliable.
  • #17945 recategorize config classes.
  • #17967 prepare for stand-alone MBE tests.
  • #17992 avoid newlines in worspace fetch errors.
  • #18011 add some doc-comments to OpQueue.
  • #17974 drop Apache license appendices.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.