chore(deps): update dependency rust-lang/rust-analyzer to v2026-05-04#203
Merged
Conversation
Contributor
|
Following are the settings schema changes between tags No changes Full settings and schema JSONs are available as an artifact |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2026-04-27→2026-05-04Release Notes
rust-lang/rust-analyzer (rust-lang/rust-analyzer)
v2026-05-04Compare Source
Commit:
f04c372Release:
2026-05-04(v0.3.2887)New Features
#22238,#22239,#22253(first contributions) addmismatched-array-pat-lenandunused-must-usediagnostics.#22186diagnose trait errors 🎉.#22144,#22168,#22145,#22156,#22197,#22193,#22202addtype-must-be-known,generic-default-refers-to-self,invalid-lhs-of-assignment,pattern-arg-in-extern-fn,non-exhaustive-record-exprandunion-expr-must-have-exactly-one-fielddiagnostics.#21987add initial support forgenblocks.#22178allow renaming of elided lifetimes.#22132,#22210add.newpostfix completion based on expected type.#22179addunwrap_blockassist.Performance Improvements
#22078(first contribution) store parse errors into a side table.#22192keep nonce when cloningRootDatabase.#22187don't internAdtDef.#22189,#22131,#22133drop someArcs.Fixes
#22098(first contribution) avoid importing prelude paths whenimports.preferPreludeis disabled.#22134,#22195port pattern inference fromrustc.#22141bring type inference closer torustc.#22135suppress inference variables in monomorphization.#22214visit all expressions.#22169parseimplrestrictions after visibility.#22170parsereturn #[attr] expr.#22124don't pick animpl Traitblock ingenerate_function.#22166fix placement of async closure capture hints.#22183propagate ABI to functions declared in extern blocks.#22201improve parser recovery in(a, , b).#22058improveprettify_macro_expansion.#22229add parentheses inconvert_match_to_let_else.#22142don't offer completions for already importedTrait as _.#22154don't completewhereafter qualified paths.#22222emitelseclause in value postfix completions.#22240improve indentation in trait item completion.#22244handle cycles inexpand_glob_import.#22150offeris_some_andandis_none_orinapply_demorgan_iterator.#22151handle negation inapply_demorgan_iterator.#22247handle match arms inunwrap_branch.#22217add semicolon after expression inunwrap_branch.#22184offerunwrap_branchon non-block match arms.#22180offerreplace_arith_opon compound assignments.#22199offerconvert_to_guarded_returnonifexpression withelse ifclause.#22079handleif matches!()inreplace_if_let_with_match.#22215fix a stack overflow when displaying projections.#22265fix panic onimpl ?Sizedinintroduce_named_type_parameter.#22207fix some issues inlower_coroutine_body_with_moved_arguments.#22122be more resilient to deleted directories inAnalysis::from_single_file.Internal Improvements
#22129lower non-destructuring assignments intoPat::Exprinstead ofPat::Path.#22146clean up string references in postfix completions.#22190ignore a test that might be hanging.#22232refactor thehir-tygenerics data structures.#22194refactorInternedCoroutineClosureId.#22221fix incorrect offset with multiple indels.#22121migrateextract_functionassist toSyntaxEditorand remove old version ofgenerate_impl.#22125,#22020,#22159migratereplace_qualified_name_with_use,inline_callandgenerate_functionassists toSyntaxEditor.#22137migrateconvert_into_to_fromassist toSyntaxEditorand replace some usages ofmod_path_to_ast.#22241migrateinsert_useandinsert_use_as_aliastoSyntaxEditor.#22245migrateAssocItemList::add_itemtoSyntaxEditor.#22243replaceast::makewithSyntaxFactoryinto_generic_args.#22246removeWhereClause::add_predicate.#22242remove some unused methods inedit_in_place.See also the changelog post.
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.