Changelog #177
Commit: bab80da
Release: 2023-04-17 (v0.3.1481)
New Features
-
#14533make inlay hints insertable:insert_inlay_hint.mp4
-
#14561map tokens frominclude!expansion to the included file:include-go-to-def.mp4
-
#14470compute closure captures. -
#14549,#14551don't suggest unstable items on stable toolchain.
Fixes
#14536(first contribution) restrict the applicability range ofSort trait items.#14540(first contribution) allow extracting function from single brace of block expression.#14579(first contribution) accept unknown notification during initialization.#14538fix project linking popup appearing for modules that can be linked to a crate.#14550fix type inference in nested closures.#14544infer types of nested RPITs.#14576fix explicit deref problems in closure capture.#14560fix view crate graph being broken due to webworker usage.#14559,#14570skip code lens resolution for mismatched document versions.#14580parse more exclusive range and inline const patterns.#14547fix receiver adjustments forExtract variable.#14535use the Rust file's parent directory instead of the workspace folder when running thediscoverProjectCommand.
Internal Improvements
#14556warn when loading sysroot fails to find thecorelibrary.#14446only run TypeScript CI when the VS Code extension changes.#14572encode closing delimiter span inFlatTrees.#14573allocateExprScopeentries in a single arena instead of per-ScopeData.#14575putAttrsbehind a query instead ofAttsWithOwner.#14574makeblock_def_mapinfallible.#14578makeinherent_impls_in_blockandtrait_impls_in_blockinfallible.#14585makeExpandDatabase::parse_macro_expansionandExpandDatabase::parse_or_expandinfallible.#14581move layout logic fromhir-deftohir-ty.#14583report macro definition errors on the definition.#14584,#14587,#14588report item-level macro expansion syntax errors.
See also the changelog post.