github rust-lang/rust-analyzer 2025-11-24

11 hours ago

Commit: 4a2b38f
Release: 2025-11-24 (v0.3.2693)

New Features

  • #21100 (first contribution) add semantic token modifier for deprecated items.
  • #21068 (first contribution) make dyn inlay hints configurable.
  • #21093 add assist to convert char literals.
  • #20974 rewrite method resolution to follow rustc more closely.
  • #21015 parse cargo config files with origins.

Fixes

  • #21090, #21092 (first contribution) don't offer to remove parantheses around control flow expressions.
  • #21083 complete #[cfg(…)] keys.
  • #20980 remove some deep normalizations from inference.
  • #21084 fix formatting request blocking on the crate_def_map query.
  • #21061 infer array lengths.
  • #21060, #21113, #21026 improve pattern inference.
  • #21036 handle references in postfix completions.
  • #21053 fix panic in extract_function when a variable is used multiple times in a macro call.
  • #21074 support parameters with the same name as a macro in add_missing_impl_members.
  • #21065 fix field completion in irrefutable patterns.
  • #21018 handle comments in private_field quick fix.
  • #21042 import full path in replace_qualified_name_with_use when triggered on the first segment.
  • #21038 support multiple selected variants in generate_from_impl_for_enum.
  • #20559 add digit group separators in add_explicit_enum_discriminant.
  • #21111 fill unguarded arms in add_missing_match_arms.
  • #21047 add #[unsafe(…)] completion.
  • #21048 don't report incorrect_case on #[no_mangle] static items.
  • #21098 load targets of all types with paths outside package root.

Internal Improvements

  • #21094 (first contribution) make DefMap dumps more verbose.
  • #21114 (first contribution) disable the tracing/attributes in some crates.
  • #21011 (first contribution) provide a gdb pretty printer for SmolStr.
  • #21017 speed up cloning of inline SmolStr variants at the expense of heap ones.
  • #21046, #21088 improve start-up speed.
  • #21087 gather trait implementations during cache priming.
  • #21085 produce fewer progress reports on start-up.
  • #21086 reduce allocations in try_evaluate_obligations.
  • #21059 derive ParamEnv from GenericPredicates.
  • #21109 migrate replace_qualified_name_with_use assist to SyntaxEditor.
  • #21057 implement precedence in HIR printing.
  • #21103 record lang item queries in analysis-stats.

See also the changelog post.

Don't miss a new rust-analyzer release

NewReleases is sending notifications on new releases.