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,#17646make parser edition-aware.#17635add inlay hint support for lifetime labels in block expressions.#17246teach rust-analyzer to discoverlinked_projects.
Fixes
#17650(first contribution) fix path resolution for child modules of those expanded byinclude!.#17587trigger a rename in VS Code "Extract variable".#17649be more robust to type errors in match analysis.#17656allow flyimport to import modules that shadow a primitive.#17653prefer standard library paths over shorter extern re-exports.#17611don't callmacro_argdirectly inExpandDatabase::syntax_context.#17622handle renaming in "Merge imports".#17605setRUSTC_TOOLCHAINfor runnables.
Internal Improvements
#17584,#17603,#17604implement symbol interning.#17657makeCfgExprslightly smaller.#17638reduce memory usage ofsalsaslots by 8 bytes.#17639some moresalsamemory improvements.#17559,#17601encode ident rawness and literal kind separately intt::Leaf.#17655morefind_pathimprovements.#17618supportrustc_skip_during_method_dispatch.#17617derive syntax kind information from ungrammar file.#17637removerust-analyzer.openFAQcommand.#17616fix incorrect generic parameter hint defaults.#17641don't take references informat_args!and friends.
See also the changelog post.