Changelog #340

Commit: 57411b3
Release: 2026-08-10 (v0.3.3005)

New Features

  • #23082 (first contribution) add replace_arith_with_strict assist.

  • #23043 remove broken and incomplete borrow checker.

  • #23042 support #[rustc_must_implement_one_of] in assists.

Performance Improvements

  • #23056 optimize item tree memory usage (saves 29 MB on self).

  • #23001 save an allocation in lifetime handling.

Fixes

  • #23014 (first contribution) accept trailing self in paths.

  • #23020 (first contribution) parse inner attributes in loop bodies.

  • #23070 (first contribution) avoid adding some extra spaces to function signatures.

  • #23055 allow struct literals in match guards.

  • #23077 parse 0 .. | _.

  • #23016 resolve assignment LHS in its expression scope.

  • #23085 merge the inference code for let expressions and statements.

  • #23008 fix ExprScopes handling of expressions inside patterns.

  • #23017 allow diverging RHS in destructuring assignments.

  • #23040 fix upvars query for const blocks inside closures.

  • #23096 don’t declare a value namespace constructor for struct and enum variants if it doesn’t exist.

  • #22899 support macros in #[doc] attributes in IDE features.

  • #23059 fix a panic caused by bound variables.

  • #22922 don’t panic on m!('a).

  • #23019 don’t panic on [usize; ""].

  • #22974, #23034 propagate macro expansion depth across body and block boundaries.

  • #23021 always allocate anonymous consts for C strings and byte string literals.

  • #23032 account for trailing line continuations in byte strings.

  • #23028 preserve trailing text when InsertReplaceEdit is unsupported.

  • #23036 make pub macros available to reverse dependencies.

  • #23054 parse inline asm with keyword as operand name.

  • #22994, #23015 exclude unit, never and unknown types from term search.

  • #21846 pass -Zjson-target-spec to Cargo when needed.

Internal Improvements

  • #23071 (first contribution) support built-in derives in Param::parent_fn.

  • #23010 install a single-threaded rayon pool in non-parallel analysis-stats.

  • #23037 support quiet mode in rust-analyzer diagnostics.

  • #23041 only show progress bars on TTYs.

  • #23047 use rustc_type_ir::try_visit.

  • #23013 bump salsa.

  • #23002 bump gen-lsp-types.