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