github rust-lang/rust-analyzer 2024-03-04

latest releases: nightly, 2024-11-25, 2024-11-18...
8 months ago

Changelog #223

Commit: 037924c
Release: 2024-03-04 (v0.3.1868)

New Features

  • #16638 (first contribution) add destructure_struct_binding assist.
  • #16651 add fill_record_pattern_fields assist.
  • #16687 support tuples in term search.
  • #16555, #16692 speed up completions by considering coherence.

Fixes

  • #16630 fix type inference of closures with predicates.
  • #16679 resolve modules in blocks in the ide layer.
  • #16647 fix false positive for dyn Trait in replace_filter_map_next_with_find_map.
  • #16678 fix panic when inlining callsites inside macro parameters.
  • #16684 don't panic on synthetic syntax in inference diagnostics.
  • #16691 fix completions panicking with certain macro setups.
  • #16693 prefer sysroot rustc in rust-project.json projects.
  • #16696, #16709 handle deref_mut and index_mut in index expressions.
  • #16727 don't highlight related associated items of supertraits.
  • #16702 ignore generic arguments in intra-doc link path resolution.
  • #16665 prioritize rustup sysroots over system ones.
  • #16695 revert doc-comment highlighting.

Internal Improvements

  • #16670 (first contribution) document NeoVim inlay hint configuration.
  • #16673 (first contribution) narrow down typos ignore list.
  • #16706 drop load-cargo dependency on ide.
  • #16738 bump rustc_pattern_analysis.
  • #16627 add repository URL and code sample sections to the bug report template.
  • #16669 merge BorrowKind::Unique into BorrowKind::Mut.
  • #16697 add RelPath::to_path_buf() method.
  • #16698 derive PartialEq, Eq and Hash for hir::Param.
  • #16705 add public function for resolving callable AST expressions to their HIR equivalents.
  • #16707 export SemanticsImpl from hir.
  • #16680 remove salsa compile-fail tests.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.