Changelog #224
Commit: 574e23e
Release: 2024-03-11
(v0.3.1877
)
New Features
#16662
,#16773
,#16794
add test explorer (disabled by default, enable usingrust-analyzer.testExplorer
).#15938
,#16756
add hover display for trait assoc items
Fixes
#16723
(first contribution) complete constants inside format strings.#16769
fix argument type inference with associated typeimpl Trait
.#16757
disable style lints by default (rust-analyzer.diagnostics.styleLints.enable
).#16759
fix "Go to definition" for constants inside range patterns.#16778
bumprustc_pattern_analysis
to fix a panic on mismatched types.#16770
fix panic on float numbers without dots in chain calls (x.1e0
).#16779
skip match diagnostics for partially unknown types.#16690
use four-space indentation in macro expansion.#16752
don't allow destructuring of structs with no public fields.#16766
keep attributes in "Generate delegate trait" assist.#16775
remove accidental dependency betweenparse_macro_expansion
andparse
.#16776
makeSpanMap
accesses lazy to avoid asalsa
dependency.#16777
don't invalid body query results when generating desugared names.#16781
,#16782
don't escape\
and$
in "Extract format expression".#16719
add basic support for the VS Code Native Debug extension.
Internal Improvements
#16722
(first contribution) avoid some allocations.#16748
compute syntax validation errors on demand.#16755
usePATH
For toolchain binaries.#16785
,#16786
,#16787
simplify the parser code somewhat.#16742
add parent-child relationship betweenSourceRoot
s.#16703
add more methods for resolving AST definitions to their corresponding HIR types.#16763
addindex
andparent_fn
accessors tohir::Param
.#16772
addtracing
spans tosalsa
databases.#16708
,#16751
move assist, diagnostics docs and lint definition generation intoxtask codegen
.#16747
various clean-ups.#16758
bump dependencies.
See also the changelog post.