Changelog #177

Commit: bab80da
Release: 2023-04-17 (v0.3.1481)

New Features

  • #14533 make inlay hints insertable:

  • #14561 map tokens from include! expansion to the included file:

  • #14470 compute closure captures.

  • #14549, #14551 don’t suggest unstable items on stable toolchain.

Fixes

  • #14536 (first contribution) restrict the applicability range of Sort trait items.

  • #14540 (first contribution) allow extracting function from single brace of block expression.

  • #14579 (first contribution) accept unknown notification during initialization.

  • #14538 fix project linking popup appearing for modules that can be linked to a crate.

  • #14550 fix type inference in nested closures.

  • #14544 infer types of nested RPITs.

  • #14576 fix explicit deref problems in closure capture.

  • #14560 fix view crate graph being broken due to webworker usage.

  • #14559, #14570 skip code lens resolution for mismatched document versions.

  • #14580 parse more exclusive range and inline const patterns.

  • #14547 fix receiver adjustments for Extract variable.

  • #14535 use the Rust file’s parent directory instead of the workspace folder when running the discoverProjectCommand.

Internal Improvements

  • #14556 warn when loading sysroot fails to find the core library.

  • #14446 only run TypeScript CI when the VS Code extension changes.

  • #14572 encode closing delimiter span in FlatTrees.

  • #14573 allocate ExprScope entries in a single arena instead of per-ScopeData.

  • #14575 put Attrs behind a query instead of AttsWithOwner.

  • #14574 make block_def_map infallible.

  • #14578 make inherent_impls_in_block and trait_impls_in_block infallible.

  • #14585 make ExpandDatabase::parse_macro_expansion and ExpandDatabase::parse_or_expand infallible.

  • #14581 move layout logic from hir-def to hir-ty.

  • #14583 report macro definition errors on the definition.

  • #14584, #14587, #14588 report item-level macro expansion syntax errors.