github rust-lang/rust-analyzer 2023-08-07

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

Changelog #193

Commit: baee6b3
Release: 2023-08-07 (v0.3.1615)

New Features

  • #14723 (first contribution) add "Remove unused imports" assist:

    remove-unused-imports.mp4

Fixes

  • #15361 expand eager macros to delimited comma-separated expression list.
  • #15366 remove faulty unwrap in eager macro expansion.
  • #15367 strip unused token ids from eager macro input token maps.
  • #15380 fix unsized struct problems in MIR eval.
  • #15348 exclude non-identifier aliases from completions.
  • #15050 skip #[doc(hidden)] methods in "Implement default members" and "Convert +#[derive]+ to manual impl".
  • #15376 make "Convert match to matches!" assist trigger on non-literal bool arms.
  • #15345 don't provide add_missing_match_arms assist when up-mapping match arm list failed.
  • #15397 remove unwraps from "Generate delegate trait".
  • #15406 don't provide generate_default_from_new when impl self type is missing.
  • #15391 set the default status bar button action to "Open logs".
  • #15392 use the warning color when server is stopped.

Internal Improvements

  • #15373 (first contribution) desugar while to loop and break.
  • #15390 improve MIR interpreter performance by caching.
  • #15269 defer structured snippet rendering to allow escaping snippet bits.
  • #15377 record extern crate declarations in the HIR.
  • #15401 turn unresolved proc macro expansions into missing expressions.
  • #15378 rename Import to Use in hir-def, add unused placeholder variants for UseId.
  • #15393 qualify parameters by the containing function in SCIP.
  • #15358 add triagebot no-merges config.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.