github rust-lang/rust-analyzer 2023-01-23

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

Changelog #165

Commit: daa0138
Release: 2023-01-23 (0.3.1377)

New Features

  • #13935 (first contribution) add assist to desugar doc-comments:

    desugar-comment.mp4

  • #13947 add basic tooltips to adjustment hints:

  • #13963 unconditionally enable location links in inlay hints.

Fixes

  • #13983 (first contribution) parse const_closures syntax.
  • #13993 (first contribution) VS Code: substitute variables in config.serverPath.
  • #13981 don't run flycheck on startup unless checkOnSave is enabled.
  • #13966 don't compute layout if TargetDataLayout is not available.
  • #13971 improve inference for binary operations more precise.
  • #13961 don't generate PartialEq/PartialOrd methods body when types don't match.
  • #13984 fix target data layout fetching incorrectly passing rustc to rustc.
  • #13978 handle slice patterns in Fill match arms.
  • #13985 don't respond with ContentModified while loading the workspace.
  • #13988 fix whitespace handling in hover Markdown removal.
  • #13980 fix checkOnSave config patching.

Internal Improvements

  • #13964 specify authors, edition, license and rust-version via workspace.package.
  • #13969 use workspace.dependencies to declare local dependencies.
  • #13989 remove hover fallback in favor of ranged hover.
  • #14001 replace SmolStr usage with enum for lang items.

See also original changelog.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.