Changelog #243

Commit: 4afe0d5
Release: 2024-07-22 (v0.3.2045)

New Features

  • #17588 (first contribution) add incorrect case diagnostics for enum variant fields and all variables/params.

  • #17620, #17640, #17646 make parser edition-aware.

  • #17635 add inlay hint support for lifetime labels in block expressions.

  • #17246 teach rust-analyzer to discover linked_projects.

Fixes

  • #17650 (first contribution) fix path resolution for child modules of those expanded by include!.

  • #17587 trigger a rename in VS Code "Extract variable".

  • #17649 be more robust to type errors in match analysis.

  • #17656 allow flyimport to import modules that shadow a primitive.

  • #17653 prefer standard library paths over shorter extern re-exports.

  • #17611 don’t call macro_arg directly in ExpandDatabase::syntax_context.

  • #17622 handle renaming in "Merge imports".

  • #17605 set RUSTC_TOOLCHAIN for runnables.

Internal Improvements

  • #17584, #17603, #17604 implement symbol interning.

  • #17657 make CfgExpr slightly smaller.

  • #17638 reduce memory usage of salsa slots by 8 bytes.

  • #17639 some more salsa memory improvements.

  • #17559, #17601 encode ident rawness and literal kind separately in tt::Leaf.

  • #17655 more find_path improvements.

  • #17618 support rustc_skip_during_method_dispatch.

  • #17617 derive syntax kind information from ungrammar file.

  • #17637 remove rust-analyzer.openFAQ command.

  • #17616 fix incorrect generic parameter hint defaults.

  • #17641 don’t take references in format_args! and friends.