Changelog #309

Commit: 6a1246b
Release: 2026-01-05 (v0.3.2743)

New Features

  • #21376 allow finding references from doc comments.

  • #21308 add configuration options to override the test, bench and doctest subcommands.

  • #21370 add #[rust_analyzer::macro_style()] attribute to control macro completion brace style.

Performance Improvements

  • #21362, #21363 compress token trees to reduce memory usage (saves 120 MB on self).

  • #21396 only compute lang items for #![feature(lang_items)] crates.

  • #21390 pre-allocate interner storage with 64 KB of data or 1024 elements.

  • #21391 reduce impl_signature query dependencies in method resolution.

Fixes

  • #21374 (first contribution) suppress non_camel_case_types lint for #[repr(C)] structs and enums.

  • #21403 suppress false positive missing associated item diagnostics when specialization is used.

  • #21397 fix Span::source_text in proc macro expansion.

  • #21377, #21400 support Span::file and Span::local_file in proc macro expansion.

  • #21393 add location links for generic parameter type hints.

  • #21375 fix incorrect dyn hint in impl Tr for.

  • #21361 ignore try_into_ prefix when suggesting a name.

Internal Improvements

  • #21367 add an upvars_mentioned that computes the closure captures.

  • #21369 migrate move_arm_cond_to_match_guard assist to SyntaxEditor.

  • #21388 remove unnecessary ConstLiteralRef enum.

  • #21401 add a README.md to proc-macro-srv-cli.