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

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

Commit: a5b21ea
Release: 2024-07-08 (v0.3.2029)

New Features

  • #17508 add walkthrough and FAQ pages.

Fixes

  • #17523 (first contribution) add an option to use :: for the external crate prefix.
  • #17529 fix lifetime parameters shifting parameter defaults.
  • #17534 skip match exhaustiveness checking if pattern type contains errors.
  • #17536 don't emit semantic diagnostics in files with a lot of syntax errors.
  • #17552 use original source ranges in macro parameter completions.
  • #17554 fix callHierarchy LSP violation.
  • #17541 fix stack overflow on recursive calls with impl Trait.
  • #17494 don't normalize use foo::{self} to use foo.
  • #17546 diagnose unresolved self value in path expressions.
  • #17549 fix runnable construction.
  • #17495, #17548 pass extra Cargo args when debugging.

Internal Improvements

  • #17522 bump rustc_pattern_analysis.
  • #17551 set InferenceResult::has_errors on error types.
  • #17526 improve error message when the proc macro server unexpectedly exits.
  • #17535 fix up the syntax tree for macro 2.0.
  • #17547 clean up runnable LSP extension.
  • #17555 inline generated syntax methods.
  • #17553 move remaining codegen things to xtask codegen.
  • #17530 move lifetimes in front of type and const params.
  • #17527 move capability querying out of the config module.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.