Changelog #228

Commit: 7a8374c
Release: 2024-04-08 (v0.3.1916)

New Features

  • #16924, #16988 add rust-analyzer.cargo.allTargets to configure passing --all-targets to cargo invocations.

Fixes

  • #17000 (first contribution) set the right postfix snippet completion source range.

  • #16968 silence type mismatches involving unresolved projections.

  • #16997 fix patch_cfg_if not applying with stitched sysroot.

  • #17006 fix some cfg censoring bugs.

  • #17003 fix off-by-one in LSP offset conversion.

  • #16961 fix crate IDs when multiple workspaces are loaded.

  • #16970 fix tasks in tasks.json.

  • #17016 apply cargo flags in test explorer.

  • #17014 consider #[exported_name=main] functions in test modules as tests.

Internal Improvements

  • #16996 lower Outlives goals and respect them in display impls.

  • #17002 consider ADT generic parameter defaults for unsubstituted layout calculations.

  • #16979 use contiguous indices for enum variants in pattern analysis.

  • #17023 slight clean-ups and perf improvements.

  • #16920 fix new nightly Clippy lints.

  • #16986 add client information to bug report template.