Skip to content

Conversation

@philips-software-forest-releaser
Copy link
Contributor

Note

Before merging this PR, please conduct a manual test checking basic functionality of the updated plug-ins. There are limited automated tests for the VS Code Extension updates.

Updates rust-lang.rust-analyzer from 0.3.2693 to 0.3.2702

Release notes

Commit: d646b23
Release: 2025-12-01 (v0.3.2702)

New Features

  • #21027 (first contribution) build releases with static CRT for -windows-msvc targets.
  • #21121 add basic support for declarative attribute and derive macros.
  • #20125 display inferred placeholder types inlay hints and use them in "Extract type as type alias".

Fixes

  • #21077 (first contribution) handle more block types and show modifiers in closing brace inlay hints.
  • #21151 don't run cache priming when disabled.
  • #21095 fix iterator completions after auto-deref.
  • #20937 don't suggest duplicate const completions after raw.
  • #20976 fix completion after inner attributes.
  • #21144 fix completion after extern and add crate completion.
  • #21028 complete enum aliases in patterns.
  • #21126 fix parameter info with missing arguments.
  • #20163 use per-token, not global, edition in the parser.
  • #20164 pass the per-token, not global, edition when expanding declarative macros.
  • #20217 use root hygiene for speculative resolution.
  • #21170 support multiple enabled features in #[target_feature].
  • #21159, #21172 rewrite dyn Trait lowering to follow rustc.
  • #20685 support multiple variants in generate_enum_{is,projection}_method.
  • #20967 offer replace_method_eager_lazy on and.
  • #21141 set enclosing_range in the SCIP index.
  • #21131 check snippet capabilities in #[cfg(…)] key completion.
  • #21023 fix handling of cloned elements in SyntaxEditor.
  • #21147 show a dropdown in the UI for rust-analyzer.imports.granularity.group.

Internal Improvements

  • #20892 reintroduce attribute rewrite.
  • #21097, #21145, #21146, #21154 reimplement proc macro server token trees as immutable, to speed up concatenation.
  • #20986, #21133, #21135, #21139, #21179 integrate postcard into the proc-macro server.
  • #21149 use a single query per crate for lang items.
  • #21167 shrink InferenceResult by ~40 bytes.
  • #21169 use new salsa API for infer.
  • #21115 bump rustc crates.
  • #21177 fix SmolStr pretty-printing for Repr::Static.

See also the changelog post.

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.

Commit: 2efc800
Release: 2025-11-17 (v0.3.2683)

Fixes

  • #20985 allow renaming label after add_label_to_loop.
  • #21003 add block on postfix .const completion.
  • #20542 handle guards in replace_if_let_with_match.
  • #20972 parse impl ! {}.

Internal Improvements

  • #21021 fix Docs.rs builds after moving smol_str.

See also the changelog post.

Commit: 21f8445
Release: 2025-11-10 (v0.3.2675)

New Features

  • #20565 add "Convert range for to while" assist.

Fixes

  • #20964 canonicalize custom-target.json paths when fetching sysroot metadata.
  • #20961 consider more expression types as in_value.
  • #20963 expand literals with wrong suffixes into LitKind::Err.
  • #20971 fix panic while resolving callable signatures for AsyncFnMut.
  • #20957 keep associated items in generate_blanket_trait_impl.
  • #20973 handle method calls in apply_demorgan.

Internal Improvements

  • #21005 (first contribution) improve wording in testing docs.
  • #20994 reduce memory usage of symbol index.
  • #20997 only populate public items in dependency symbol index.
  • #20995 use new salsa API for SymbolsDatabase.
  • #20991, #20990, #20988 merge text-size, ungrammar and smol_str into rust-analyzer.
  • #21002 bump library editions to 2024 and remove legacy files.

See also the changelog post.

Commit: bacc5bb
Release: 2025-11-03 (v0.3.2667)

New Features

  • #20186 add option to exclude nearby derives from "Go to implementations" and implementations lens.
  • #20906 support opaques properly.

Fixes

  • #20921 avoid calling specializes() query on crates that do not define #![feature(specialization)].
  • #20920 resolve target-dir more precisely.
  • #20369 change method to associated function calls when renaming self.
  • #20931 show proper async function signatures in the signature help.
  • #20930 fix handling of nested block modules.
  • #20919 consider all matches for flyimport even when searched with a qualifier.
  • #20942 fix false positive syntax errors on frontmatters.
  • #20934 improve error recovery with malformed function return types.
  • #20915 offer replace_is_method_with_if_let_method in while expression.

Internal Improvements

  • #20922 reduce client_commands allocations in LSP conversion.
  • #20927 support memory profiling using dhat.

See also the changelog post.

Commit: 049767e
Release: 2025-10-27 (v0.3.2658)

New Features

Fixes

  • #20583 (first contribution) add rust-analyzer.semanticHighlighting.comments.enable option.
  • #20697, #20745 (first contribution) fix negative literals in const generics.
  • #19867 (first contribution) allow &raw [mut | const] for union fields in safe code.
  • #20432 (first contribution) improve identifier pattern handling in assists.
  • #20891 (first contribution) add negation semantic token type.
  • #20425 (first contribution) add parser heuristic to warn on unterminated strings.
  • #20520 add option to hide reborrows in adjustment inlay hints.
  • #20721 implement fallback properly.
  • #20755 add #[doc = include_str!(…)] completion.
  • #20423 make import sorting order follow the 2024 edition style.
  • #20801 small fixes for import insertion.
  • #20866 run cargo metadata on sysroot right from its path.
  • #20554 improve handling of the env! macro.
  • #20587 deduplicate methods in completion by function ID and not by name.
  • #20803 replace --show-output task defaults with --nocapture.
  • #20459 track diagnostic generations per package.
  • #20689 make flycheck clearing dependency-aware.
  • #20635 don't trigger two flychecks when saving files that are part of targets.
  • #20402 add more workarounds for incorrect startup diagnostics.
  • #20787 fix spurious incorrect_generics_len on generic enum variants used through type aliases.
  • #20770 don't trigger trait-impl-incorrect-safety on unresolved traits.
  • #20642 make #[target_feature] safe on WASM.
  • #20504 avoid infinite recursion while lowering associated type bounds from supertraits.
  • #20720 prevent rustup from automatically installing toolchains.
  • #20528 masquerade as nightly cargo when invoking flycheck with -Zscript.
  • #20612 fix "Expand macro recursively" on nested macro calls.
  • #20517 only compute unstable paths on nightly toolchains for IDE features.
  • #20639 resolve paths to snapshot test libraries absolutely.
  • #20547 don't highlight unrelated unsafe operation on unsafe blocks.
  • #20579 don't pass --target to rustc twice while fetching target data layout.
  • #20475 don't duplicate lang items with overridden sysroot crates.
  • #20518 fix else completion in let _ = if x {} $0.
  • #20390 add if-else completions in let statements and argument lists.
  • #20620, #20657 add else keyword completion after let statements.
  • #20653 don't output an empty generic parameters list in generate_function.
  • #20708 fix panic in destructure_struct_binding.
  • #20702 fix else completion before else keyword.
  • #20700 fix extract_variable on if-let.
  • #20709 fix panic in destructure_struct_binding.
  • #20710 fix shorthand fields in unused_variables.
  • #20661 tighten up expected type completions in if.
  • #20507 handle expected return type in completions.
  • #20725 fix lifetime elision handling for Fn-style trait bounds.
  • #20624 fix lifetime_bounds.
  • #20723 fix bind_unused_param with binding modes and underscore prefixes.
  • #20722 fix pull_assignment_up on chained ifs.
  • #20679 fix type completion with nested patterns.
  • #20592 handle closures inside match in add_braces.
  • #20543 don't suggest invalid transformation in replace_if_let_with_match.
  • #20742 don't turn unused variables into raw identifier.
  • #20598 support let chains in convert_to_guarded_return.
  • #20731 handle tuple and slice rest patterns in expand_rest_pattern.
  • #20729 add const generic parameter keyword completion.
  • #20793 add missing parentheses on ambiguity in missing_unsafe.
  • #20513 complete let in let-chains.
  • #20812 complete self parameters in associated trait functions.
  • #20805 improve parse errors for static and const.
  • #20824 fix completion type analysis in empty closures.
  • #20817 support add_explicit_type on parameters in let statements.
  • #20816 handle closure return type adjustments in add_return_type.
  • #20526 support let-chains for .let completions.
  • #20788 allow more string literal conversions from raw strings.
  • #20838 don't make convert_to_guarded_return applicable on let-else.
  • #20758 support else blocks with ! return type in convert_to_guarded_return.
  • #20772 support match inside if in pull_assignment_up.
  • #20673 support break with value in completions.
  • #20858 include trailing underscores when hiding inlay hints.
  • #20872 add missing rest pattern in convert_named_struct_to_tuple_struct.
  • #20880 fix invalid rest pattern in convert_tuple_struct_to_named_struct.
  • #20455 fix indent in convert_match_to_let_else.
  • #20509 fix indent in move_guard_to_arm_body.
  • #20613 fix indent in unresolved_field diagnostic fixes.
  • #20845 fix indent in add_braces.
  • #20850 fix indent in add_missing_match_arms.
  • #20670 improve incomplete statement heuristic.
  • #20831 add shorthand record field completions.
  • #20571 add type keyword completions.
  • #20886 improve handling of missing names in MethodCallExpr.
  • #20905 fix array inhabitedness check.
  • #20889 improve field completion parentheses heuristic.
  • #20658 complete else in more expressions.
  • #20611 add parantheses for precedence in replace_arith_op.
  • #20912 complete let before expression in if.
  • #20764 handle if-let in convert_to_guarded_return.
  • #20712 handle shorthand field patterns in destructure_tuple_binding.
  • #20589 place new module outside impl block in extract_module.
  • #20913 support let-chains in replace_is_method_with_if_let_method.
  • #20626 improve whitespace in make::struct_field_list.
  • #20534 improve semicolon handling in toggle_macro_delimiter.
  • #20442 only import the item in "Unqualify method call" when needed.
  • #20686 only offer generate_default_from_enum_variant when the variant name is completely selected.
  • #20771 offer invert_if on else.
  • #20844 offer add_braces on assignments.
  • #20599 offer apply_demorgan on !.
  • #20456 support guards in replace_match_with_if_let.
  • #20714 allow trailing comma in remove_dbg!.
  • #20511 don't offer convert_integer_literal on selections.
  • #20512 don't offer replace_arith_op on selections.
  • #20736 don't offer invert_if on if-let chains.
  • #20682 don't offer change_visibility for variant fields.
  • #20688 reduce replace_is_method_with_if_let_method applicability range.
  • #20759 fix casts and use typed syntax tree API in convert_to_guarded_return.
  • #20876 fix signature_help LSP conversion creating invalid UTF-16 offsets.

Internal Improvements

  • #20379 (first contribution) consistently use --- for horizontal rules.
  • #20483 (first contribution) optimize VS Code extension icon.
  • #20794 (first contribution) deduplicate sort and dedup calls.
  • #20667 add regression test for The One and Only Issue.
  • #20376 merge Trait and TraitAlias handling.
  • #20399 enable warning logs by default.
  • #20706 avoid allocating in stdx::replace.
  • #20730, #20748, #20860 migrate expand_record_rest_pattern, replace_arith_op and generate_single_field_struct_from assists to SyntaxEditor.
  • #20796 bump salsa.
  • #20852 do not enable force-always-assert by default.
  • #20631 remove support for #[register_attr].
  • #20804 pass --target to xtask install.
  • #20683 expose iterators over the types in InferenceResult.
  • #20669 add a testing guide.
  • #20633 clarify introduction in the README and manual.
  • #20638 add FAQ entry about Cargo build lock and cache conflicts.
  • #20560 add progress bars to more places in analysis-stats.
  • #20652 improve rust-analyzer diagnostics.
  • #20774 build x86_64-apple-darwin binaries on macos-14.

See also the changelog post.

Commit: 9db0550
Release: 2025-08-11 (v0.3.2577)

An Update on the Next Trait Solver

We are very close to switching from chalk to the next trait solver, which will be shared with rustc.
chalk is de-facto unmaintained, and sharing the code with the compiler will greatly improve trait solving accuracy and fix long-standing issues in rust-analyzer.
This will also let us enable more on-the-fly diagnostics (currently marked as experimental), and even significantly improve performance.

However, in order to avoid regressions, we will suspend the weekly releases until the new solver is stabilized.
In the meanwhile, please test the pre-release versions (nightlies) and report any issues or improvements you notice, either on GitHub Issues, GitHub Discussions, or Zulip.

New Features

  • #20420 (first contribution) add config option to exclude locals from document symbol search.

Fixes

  • #20381 check expected type for assignments in completions.
  • #20382 correctly go to impl From from into() even inside macros.
  • #20387 do not remove the original token when descending into derives.
  • #20412 properly handle names matching identifiers in generate_function.
  • #20418 fix extract_expressions_from_format_string on write! calls.
  • #20354 remove no-op calls in remove_dbg.
  • #20384 fix external docs URL for exported macros.

Internal Improvements

  • #20417 (first contribution) fix parsing of trait bound polarity and for-binders.
  • #20419, #20429, #20434 make flycheck generational.
  • #20385 migrate expand_glob_import assist to SyntaxEditor.
  • #20373 generate an ast::Module, not String, in extract_module.
  • #20383 remove ted from replace_named_generic_with_impl.
  • #20380 remove add_attr from edit_in_place because it use ted.
  • #20409 add write! and writeln! to minicore.
  • #20400 disable error reporting when clamping a position.
  • #20393 fix non-LSP compliant Response definition.
  • #20392 report the incorrect payload when failing to deserialize LSP messages.
  • #20389 slim down compile-time artifact progress reports.

See also the changelog post.

Commit: 8d75311
Release: 2025-08-04 (v0.3.2563)

New Features

  • #20351 change callers to use method call syntax when renaming a parameter to self.

Fixes

  • #20313 fix variable substitution in runnables.extraEnv.
  • #20333 do not require all rename definitions to be renameable.
  • #20336 check for snippet cap in generate_mut_trait_impl.
  • #20337 fix bounds display with impl Trait.
  • #20300 don't add Panics section for debug_assert!.
  • #20327 don't show $saved_file literally in IDE status updates.

Internal Improvements

  • #20342 reorganize proc-macro-srv, add --format and --version args.
  • #20311, #20314, #20364, #20368, #20371 migrate convert_tuple_struct_to_named_struct, inline_type_alias, convert_from_to_tryfrom, generate_delegate_methods and generate_trait_from_impl assists to SyntaxEditor.
  • #20303, #20372 migrate path_transform to SyntaxEditor.
  • #20345 add SyntaxEditor::delete_all.
  • #20349 fix new Clippy lints.
  • #20154 improve settings tree descriptions.
  • #20335 use GitHub app for authenticating sync PRs.

See also the changelog post.

Commit: db02cdc
Release: 2025-07-28 (v0.3.2555)

New Features

  • #19938 add "Generate impl for type" assist.

Fixes

  • #20271 disable tests in flycheck if cfg.setTest is set to false.
  • #20262 fix search of raw labels and lifetimes.
  • #20273 apply adjustments to patterns and expressions when doing pattern analysis.
  • #20281 parse for<'a> [const].
  • #20318 ignore Destruct bounds again.
  • #20290, #20315 use temporary directory for copied lockfiles.
  • #20319 consider all produced artifacts for proc macro dylib search.
  • #20302 fix doc-comment folding with multi-line parameter lists.
  • #20285 use Self when renaming self parameter.
  • #20256 support Deref in generate_mut_trait_impl.
  • #20297 fix whitespace in generate_trait_from_impl.

Internal Improvements

  • #20272 (first contribution) fix size asserts on x86_64-unknown-linux-gnux32.
  • #20293, #20306, #20307, #20270 migrate replace_derive_with_manual_impl, add_missing_impl_members, convert_to_guarded_return, extract_expressions_from_format_string and generate_new to SyntaxEditor.
  • #20269 migrate AstNodeEdit::Indent to SyntaxEditor.
  • #20289 remove ExpressionStoreDiagnostics::MacroError.
  • #20278 fupport filtering in analysis-stats MIR lowering.
  • #20280, #20282, #20279 set up rustc-josh-sync.

See also the changelog post.

Commit: 58e507d
Release: 2025-07-21 (v0.3.2547)

New Features

  • #19783 add "Generate From impl from single field" assist.
  • #20265 support cfg_select! for the standard library.

Fixes

  • #20238 infer lifetimes for GATs in expression/pattern positions.
  • #19917 handle AsRef and Borrow in "Generate IndexMut impl from Index".
  • #20247 transform tail expression & to &mut in "Generate TraitMut impl from Trait".
  • #20255 fix bounds in "Generate Deref impl".

Internal Improvements

  • #20233 (first contribution) expand lsp-server example.
  • #20178 clean up cargo config querying.
  • #20234 remove {ConstParam,TypeParam}::remove_default.
  • #20246 add AsMut to minicore prelude.

See also the changelog post.

Commit: 591e3b7
Release: 2025-07-14 (v0.3.2539)

New Features

  • #20054 support folding multi-line parameter list with the function body:

    Screen recording demonstrating folding the parameter list of a function together with its body

  • #20185 include enum variants in world symbols.

  • #20109 make generate_new work for tuple structs.

Fixes

  • #20192 fix a panic in documentation rendering.
  • #20180 always bump in the parser in err_and_bump.
  • #20200 revert "re-enable fixpoint iteration for variance computation".
  • #20212 fix dyn inlay hints with parantheses and don't display them on HRTBs.
  • #20210 make naked_asm! safe to call and fix global_asm!.
  • #20232 normalize projection types before const eval.
  • #20235 fix where clause position in trait associated item completion.

Internal Improvements

  • #20219 outline parts of ExpressionStore into a different allocation.
  • #20198, #20211, #20218 migrate pull_assignment_up, convert_named_struct_to_tuple_struct, convert_match_to_let_else, generate_impl and remove_dbg assists to SyntaxEditor.

See also the changelog post.

Commit: e429bac
Release: 2025-07-09 (v0.3.2533)

New Features

  • #20185 include enum variants in world symbols.

Fixes

  • #20192 fix a panic in documentation rendering.
  • #20180 always bump in the parser in err_and_bump.
  • #20200 revert "re-enable fixpoint iteration for variance computation".

Internal Improvements

  • #20198 migrate pull_assignment_up assist to SyntaxEditor.

Commit: 0ac6559
Release: 2025-07-07 (v0.3.2527)

New Features

Fixes

  • #20151 only remove keyword prefixes (macro@ or macro ) from links in the docs if the target is inferred.
  • #20158 don't warn about the proc macro server when the sysroot is missing.
  • #20160 reduce diagnostic range for macro_calls!.
  • #20120 fix value resolution in match patterns.
  • #20161 fix closure capture analysis for let expressions.
  • #20167 improve #[derive(Default)] expansion.
  • #20031 respect length limit and improve adjustment hint tooltips.
  • #20179 handle divergence in destructuring assignments.
  • #20159 always couple --compile-time-deps with --all-targets.
  • #20170 improve flycheck and build script progress reporting.
  • #20112 add workaround for missing Delimiter::None support to built-in macros.
  • #20126 improve panic message on discover command spawning errors.
  • #20148 honor rust-analyzer.cargo.noDeps option when fetching sysroot metadata.

Internal Improvements

  • #20175 (first contribution) remove special handling for box patterns in match_check.
  • #20124 remove last use of rustc_pattern_analysis::Captures.
  • #20156 restructure proc macro loading erros.
  • #20157 re-enable fixpoint iteration for variance computation.
  • #20184 remove dead field from InferenceContext.
  • #20169 skip unnecessary BodySourceMap's eq.
  • #20134, #20135, #20136, #20137, #20165 migrate replace_is_method_with_if_let_method, promote_local_to_const, toggle_macro_delimiter, wrap_unwrap_cfg_attr and unmerge_match_arm assists to SyntaxEditor.
  • #20132 add AsMut, Borrow and BorrowMut to minicore.
  • #20144 add load_workspace_into_db version of load_workspace.
  • #19923 bump salsa.

See also the changelog post.

Commit: 6df1213
Release: 2025-06-30 (v0.3.2519)

New Features

  • #20077 (first contribution) take an optional "args": "cursor" in the VS Code "Run" command.
  • #19546 highlight return values as related to match / if / =>.
  • #20100 lower PointeeSized to ?Sized to support the new Sized trait hierarchy.
  • #20105 parse new [const] Trait syntax.

Fixes

  • #20110 don't show float completions on integer literals.
  • #20096 don't show notifications on failed rustfmt calls.
  • #20121 don't append --compile-time-deps to build script commands.
  • #20073 use ROOT hygiene for args in the new format_args! expansion.
  • #20069 fix cargo project manifest not pointing to the workspace root.
  • #20072 respect configured build.target-dir.
  • #20061 don't wrap exit points with the right type in "Wrap return type".
  • #20103 prettify AST in PathTransform if it's coming from a macro.
  • #20080 clean up and expand folding_ranges.
  • #20092 don't complain about rustc workspace loading if it's not required.
  • #20036 don't default to 'static for trait object lifetimes.

Internal Improvements

  • #20012 (first contribution) bump literal-escaper.
  • #20088 de-Arc trait items query.
  • #20087 short-circuit a couple of queries.
  • #20106 make the VariantFields query more idiomatic.
  • #20098 unify formatting of progress messages.
  • #20104 clean up provideCodeActions VS Code hook.
  • #20116 cancel CI workflow only after the main matrix has finished.
  • #20084 fix CI job cancellation on Windows.

See also the changelog post.

Commit: 0100bc7
Release: 2025-06-23 (v0.3.2509)

New Features

  • #19939 add rust-analyzer.assist.preferSelf to prefer Self instead of the enum name in assists.
  • #20047 use cargo check --compile-time-deps when available.
  • #20020 reload workspaces when cargo config changes.
  • #20018 copy lockfile into target directory before invoking cargo metadata.
  • #20056 support the new format_args! expansion in 1.89.
  • #20014 show what cargo metadata is doing.

Fixes

  • #19945 add quickfix to the private-field diagnostic.
  • #20025 (first contribution) hide imported private methods if "private editable" is disabled.
  • #20041 revert "turn BlockId into a #[salsa::tracked]".
  • #20022 never make type mismatch diagnostic stable, even when there is a fix.
  • #20023 improve completions in if / while expression conditions.
  • #20039 fix closure capturing in let expressions.
  • #20035 pass --color=always from Test Explorer.

Internal Improvements

  • #19495 start infesting ide crates with a 'db lifetime.
  • #20046 add hir::TypeParam::parent method.
  • #20050 improve documentation for excluding imports from symbol search.

See also the changelog post.

Commit: a207299
Release: 2025-06-16 (v0.3.2500)

New Features

  • #19996 add support for excluding imports from symbol search.
  • #19837, #19985 provide better incrementality when items are changed.

Fixes

  • #19963 do not report errors for unsized types without where Self: Sized items.
  • #19970 fix proc macro server handling of strings with minuses.
  • #19973 hide dyn inlay hints for incomplete impls.
  • #19942 fix completions with some attribute macros.
  • #19981 do not force-descend into derives for goto IDE features.
  • #19983 fix comparison of proc macros.
  • #20000 allow lifetime repeats in macros ($($x)'a*).
  • #19990 generate annotations for macro-defined items if their name is in the input.

Internal Improvements

  • #19982, #19991 simplify and optimize ItemTree.
  • #20009 optimize pub(crate) and pub(self) visibility resolution.
  • #20007, #20008 make salsa usage more idiomatic.
  • #19995 turn BlockId into a #[salsa::tracked].
  • #20006 clean up incremental tests and verify query execution.
  • #19997 remove InternedCallableDefId.
  • #19980 de-duplicateItemTree ItemVisibilities.
  • #19992 use ThinVec in ItemScope in a couple places.
  • #19984 remove pref_align_of intrinsic handling, rename {min_=>}align_of{,_val}.
  • #19930 add support for type-erased Semantics<'db, dyn HirDatabase>.
  • #19975 test incremental trait solving.
  • #19989 bump some deps.

See also the changelog post.

Commit: 9fc1b90
Release: 2025-06-09 (v0.3.2490)

New Features

  • #19893 enhance renaming to include identifier variations that are generated by macros.
  • #19908 implement completions for #[diagnostics].
  • #19922 ddd dyn keyword inlay hints.

Fixes

  • #19901 (first contribution) increase the range of the tuple to named struct assists.
  • #19869 (first contribution) add diagnostic and quickfix to make private struct fields public.
  • #19894 handle cycles in infer and const_param_ty_with_diagnostics.
  • #19935 always emit quickfixes, even when diagnostics are disabled.
  • #19936, #19949 stabilize the unlinked file and "JSON is not Rust" diagnostics.
  • #19932, #19937 record macro calls in signatures and fields in ChildBySource impls.

Internal Improvements

  • #19933 improve parser recovery for macro calls in type bound position.
  • #19897 produce CLOSURE_BINDER nodes.
  • #19905 clean up macro descension.
  • #19928 deduplicate some code in proc macro server.
  • #19914 add incremental tests checking for infer invalidation.
  • #19915, #19919, #19920, #19921 try to fix autopublishing workflow.

See also the changelog post.

Commit: 2a388d1
Release: [2025-06-02](https://www.github.com/rust-lang/rust-analyzer/releases/2025-06-

@philips-software-forest-releaser philips-software-forest-releaser bot requested a review from a team as a code owner December 7, 2025 03:07
@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Dec 7, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2025

⚠️MegaLinter analysis: Success with warnings

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 20 0 0 0.55s
✅ DOCKERFILE hadolint 2 0 0 0.79s
✅ GHERKIN gherkin-lint 6 0 0 2.37s
✅ JSON npm-package-json-lint yes no no 0.55s
✅ JSON prettier 19 4 0 0 0.54s
✅ JSON v8r 19 0 0 6.65s
✅ MARKDOWN markdownlint 11 0 0 0 0.92s
✅ MARKDOWN markdown-table-formatter 11 0 0 0 0.23s
✅ REPOSITORY checkov yes no no 17.6s
✅ REPOSITORY gitleaks yes no no 0.51s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 27.63s
✅ REPOSITORY secretlint yes no no 1.0s
✅ REPOSITORY syft yes no no 2.02s
✅ REPOSITORY trivy yes no no 7.43s
✅ REPOSITORY trivy-sbom yes no no 0.23s
✅ REPOSITORY trufflehog yes no no 2.2s
⚠️ SPELL lychee 77 3 0 11.88s
✅ YAML prettier 28 0 0 0 0.97s
✅ YAML v8r 28 0 0 7.73s
✅ YAML yamllint 28 0 0 0.77s

Detailed Issues

⚠️ SPELL / lychee - 3 errors
[IGNORED] docker://pandoc/extra:3.7.0@sha256:a703d335fa237f8fc3303329d87e2555dca5187930da38bfa9010fa4e690933a | Unsupported: Error creating request client: builder error for url (docker://pandoc/extra:3.7.0@sha256:a703d335fa237f8fc3303329d87e2555dca5187930da38bfa9010fa4e690933a)
[ERROR] https://slsa.dev/spec/v1.0/threats | Network error: error sending request for url (https://slsa.dev/spec/v1.0/threats) Maybe a certificate error?
[ERROR] https://www.contributor-covenant.org/version/2/0/code_of_conduct.html | Network error: error sending request for url (https://www.contributor-covenant.org/version/2/0/code_of_conduct.html) Maybe a certificate error?
[ERROR] https://www.contributor-covenant.org/ | Network error: error sending request for url (https://www.contributor-covenant.org/) Maybe a certificate error?
[IGNORED] https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer | Unsupported: Error creating request client: builder error for url (vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/philips-software/amp-devcontainer)
📝 Summary
---------------------
🔍 Total..........126
✅ Successful.....121
⏳ Timeouts.........0
🔀 Redirected.......0
👻 Excluded.........0
❓ Unknown..........0
🚫 Errors...........3

Errors in .github/CODE_OF_CONDUCT.md
[ERROR] https://www.contributor-covenant.org/version/2/0/code_of_conduct.html | Network error: error sending request for url (https://www.contributor-covenant.org/version/2/0/code_of_conduct.html) Maybe a certificate error?
[ERROR] https://www.contributor-covenant.org/ | Network error: error sending request for url (https://www.contributor-covenant.org/) Maybe a certificate error?

Errors in test/cpp/features/security.feature
[ERROR] https://slsa.dev/spec/v1.0/threats | Network error: error sending request for url (https://slsa.dev/spec/v1.0/threats) Maybe a certificate error?

See detailed reports in MegaLinter artifacts

Your project could benefit from a custom flavor, which would allow you to run only the linters you need, and thus improve runtime performances. (Skip this info by defining FLAVOR_SUGGESTIONS: false)

  • Documentation: Custom Flavors
  • Command: npx mega-linter-runner@9.2.0 --custom-flavor-setup --custom-flavor-linters ACTION_ACTIONLINT,DOCKERFILE_HADOLINT,GHERKIN_GHERKIN_LINT,JSON_V8R,JSON_PRETTIER,JSON_NPM_PACKAGE_JSON_LINT,MARKDOWN_MARKDOWNLINT,MARKDOWN_MARKDOWN_TABLE_FORMATTER,REPOSITORY_CHECKOV,REPOSITORY_GIT_DIFF,REPOSITORY_GITLEAKS,REPOSITORY_GRYPE,REPOSITORY_SECRETLINT,REPOSITORY_SYFT,REPOSITORY_TRIVY,REPOSITORY_TRIVY_SBOM,REPOSITORY_TRUFFLEHOG,SPELL_LYCHEE,YAML_PRETTIER,YAML_YAMLLINT,YAML_V8R

MegaLinter is graciously provided by OX Security

@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2025

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-rust:edgeghcr.io/philips-software/amp-devcontainer-rust:pr-1036

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 545.87 MB 545.87 MB 467 B (0%) 🔽
linux/arm64 500.48 MB 500.48 MB 495 B (0%) 🔽

@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2025

📦 Container Size Analysis

Note

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:edgeghcr.io/philips-software/amp-devcontainer-cpp:pr-1036

📈 Size Comparison Table

OS/Platform Previous Current Change Trend
linux/amd64 681.04 MB 681.04 MB 57 B (0%) 🔽
linux/arm64 662.79 MB 662.79 MB 136 B (0%) 🔽

@github-actions
Copy link
Contributor

github-actions bot commented Dec 7, 2025

Test Results

 5 files  + 5   5 suites  +5   3m 38s ⏱️ + 3m 38s
32 tests +32  32 ✅ +32  0 💤 ±0  0 ❌ ±0 
67 runs  +67  67 ✅ +67  0 💤 ±0  0 ❌ ±0 

Results for commit a6c460e. ± Comparison against base commit 37aff31.

♻️ This comment has been updated with latest results.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Dec 8, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file vscode-extensions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants