Changelog #327

Commit: e266f5c
Release: 2026-05-11 (v0.3.2896)

New Features

  • #22309, #22334 (first contributions) add functional-record-update-on-non-struct and expected-array-or-slice-pat diagnostics.

  • #22235, #22326 add duplicate-field diagnostic.

  • #22292 add support for deref patterns.

  • #22259 complete :: in module paths.

Performance Improvements

  • #22267 improve performance of integer-based symbols.

  • #22280 cache more things related to lang items.

Fixes

  • #22303 (first contribution) keep ref and mut when renaming bindings in macro-generated patterns.

  • #22284 (first contribution) work around a lsp-mode configuration bug.

  • #22295 (first contribution) use runnable kind to disambiguate between Cargo and shell commands.

  • #22272 don’t fetch diagnostics until proc macros are loaded.

  • #22198 infer anonymous constants instead of signatures.

  • #22237 provide an InferCtxt to TyLoweringContext.

  • #22319 don’t replace closure capture place types with errors if they fail to normalize.

  • #22285 unify types in ref_match completions.

  • #22275 port async block expected type inference from rustc.

  • #22271 port array and ref expression inference from rustc.

  • #22299 fix derive helper resolution.

  • #22290 respect lint attributes for diagnostics that don’t set their main node.

  • #22276 remove usage of references_error in upvar inference.

  • #22266 fix handling of self in lower_coroutine_body_with_moved_arguments.

  • #22318 provide source map for the lowered let self = self binding in async functions.

  • #22274 add missing lang items for the trait solver.

  • #22282 handle #[rustc_reservation_impl = "reason"].

  • #22315 add whitespace to postfix completions in macro calls.

  • #22286 use cursor position for indentation in postfix completions.

  • #22302 don’t split ..= in prettify_macro_expansion.

  • #22291 don’t add associated types with defaults in add_missing_impl_members.

  • #22304 don’t offer toggle_macro_delimiter on inner braces.

Internal Improvements

  • #22312 bump rustc crates.

  • #22269 fix nested edits in SyntaxEditor.

  • #22308, #22204 migrate split_import and convert_closure_to_fn assists to SyntaxEditor.

  • #22261 migrate missing_fields diagnostic to SyntaxEditor.

  • #22296 migrate impl Trait completions to SyntaxEditor.

  • #22320, #22321, #22323 migrate macro expansion to SyntaxEditor.

  • #22310 remove SourceChangeBuilder::make_mut.

  • #22307 remove ted-based increase_indent and decrease_indent.

  • #22256 add SyntaxEditor version of wrap_in_tree_list.