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

latest releases: nightly, 2024-09-23, 2024-09-16...
17 months ago

Changelog #176

Commit: 01120f1
Release: 2023-04-10 (v0.3.1472)

New Features

  • #14433 (first contribution) add #[doc(alias(..))]-based completions.

  • #14512 highlight escapes in char literals:

    Screenshot showing highlighted char escapes

  • #14455 add assist to convert nested functions to closures.

  • #14432 drop support for non-syroot proc macro ABIs (proc macros no longer expand with Rust 1.63).

Fixes

  • #14486 desugar async fn completely.
  • #14481 fix VS Code project linking pop-up buttons being swapped.
  • #14482 use the correct path accessor in the project linking pop-up.
  • #14483 do autoderef in "Generate delegate methods".
  • #14493 insert whitespace between text and attribute macros.
  • #14505 fix block-local trait impl solving regressions.
  • #14520 unify types in infer_expr_coerce_never().

Internal Improvements

  • #14521, #14526, #14528 add bounds for fields in derive macros.
  • #14436 normalize associated types in paths in expressions.
  • #14490 use an arena instead of a hash map in the crate graph.
  • #14442 implement structured API for snippets.
  • #14509 resolve labels in body lowering.
  • #14511 always reborrow mutable reference receiver in methods.
  • #14517 shuffle around some hir-def modules.
  • #14519 don't recreate Hygiene unnecessarily.
  • #14518 remove unnecessary Names from FunctionData::params.
  • #14525 remove parameter names from function item tree.
  • #14524 render function parameters in hir-def pretty printing.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.