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.2539 to 0.3.2547

Release notes

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 (v0.3.2482)

New Features

  • #19876 render padding information when hovering on structs.
  • #19881 add assist to desugar let pat = expr?; into let else.
  • #19819 change import prefix default to crate.
  • #19890 make import insertion #[cfg]-aware.

Fixes

  • #19879 fix IDE layer not resolving some macro calls.
  • #19880 handle included files better at the IDE layer.
  • #19872 fix inference of AsyncFn return types.
  • #19864 properly implement might_be_inside_macro_call using semantic information instead of syntactical hacks.
  • #19851 normalize when checking for uninhabited types for pattern exhaustiveness checks.
  • #19875 skip pattern analysis on type mismatches.
  • #19899 account for "Generate" actions when filtering the allowed ones.
  • #19785, #19792 keep indent in generate_new and generate_mut_trait.
  • #19900 generate diagnostics docs for the manual.

Internal Improvements

  • #19877 (first contribution) remove support for concat_idents!.
  • #19861 (first contribution) add documentation for find_all_refs constructor search.
  • #19896 restructure some semantics APIs for virtual macro files.
  • #19898 remove unncessary duplication in highlight_related.
  • #19888 recognize salsa cycles in thread_result_to_response.
  • #19850 add support for type-erased Semantics<'db, dyn HirDatabase>.

See also the changelog post.

Commit: d2f1787
Release: 2025-05-26 (v0.3.2474)

Fixes

  • #19839 correctly set the span of the proc_macro crate's Group delimiters.
  • #19824 fix caching problems with lint levels.

Internal Improvements

  • #19757 request cancellation while processing changed files.
  • #19814 debounce workspace fetching for workspace structure changes.
  • #19809 catch inference panics in analysis-stats.
  • #19840 fix integrated_benchmarks.
  • #19853 bump salsa.

See also the changelog post.

Commit: e464ff8
Release: 2025-05-19 (v0.3.2466)

Fixes

  • #19793 keep derive macros when removing unused imports.
  • #19687 highlight unsafe operations as related when the caret is on unsafe.
  • #19801 improve asm! support.
  • #19794 don't allow duplicate crates in the all_crates list.
  • #19807 don't override RUSTUP_TOOLCHAIN if it is already set.

Internal Improvements

  • #19796 (first contribution) bump some dependencies for Cygwin support.
  • #19808 run metrics on the beta channel.

See also the changelog post.

Commit: 2bafe9d
Release: 2025-05-12 (v0.3.2457)

New Features

  • #19740 add assist to unwrap a type into its single generic argument.

Fixes

  • #19751 (first contribution) support CARGO_MANIFEST_PATH.
  • #19763 complete parentheses and method call arguments if the next line starts with a tuple.
  • #19742 fix incorrect handling of unresolved non-module imports in name resolution.
  • #19746 fix proc-macro API creating malformed negative literals.
  • #19747 fix move_bounds assists with lifetimes.
  • #19434 support negative numbers in concat!.
  • #19764 don't deref twice in postfix snippets.
  • #19738 fix panic on <T as Tr> without an associated type.
  • #19507 fix path resolution in outer doc comments.

Internal Improvements

  • #19721 handle parallelism better in cache priming.
  • #19707 de-Arc defmap queries.
  • #19750 remove unnecessary token length check for macros in renaming.
  • #19749 remove unnecessary AsAny trait.
  • #19772 make diagnostics experimental by default.
  • #19748 direct users to discussions instead of issues for questions.

See also the changelog post.

Commit: 3b57c00
Release: 2025-05-05 (v0.3.2449)

Fixes

  • #19704 add underscore mode for expression filling.
  • #19733 implement mut to const pointer cast for method resolution.
  • #19732 fix associated type bound variable starting index.
  • #19699 properly escape raw names in labels.
  • #19247 fix span info in mir::Operand.
  • #19723 improve parser recovery a bit.
  • #19581 render more lifetimes.
  • #19735 improve the let and letm snippets.
  • #19739 temporarily disable fixpoint for variance computation.

Internal Improvements

  • #19685 (first contribution) add PGO support to xtask install.
  • #19713 clean up cfg check handling in expression store lowering.
  • #19469 migrate merge_imports, unmerge_imports and let_else_to_match to SyntaxEditor.
  • #19708 de-Arc language item queries.
  • #19712 clean up cache priming cancellation handling.
  • #19731 simplify macro call id construction.
  • #19714 remove unnecessary extension trait.
  • #19719 adjust panic context printing.
  • #19727 remove a couple of unnecessary clones.
  • #19716 bump salsa (saves 212 MB on analysis-stats self).

See also the changelog post.

Commit: d8887c0
Release: 2025-04-28 (v0.3.2441)

New Features

Fixes

  • #19622 (first contribution) fix some bugs in the string rewriting assists.
  • #19604 (first contribution) add semicolon to use completion.
  • #19657 improve support for offset_of!().
  • #19636 fix completion_snippets_custom config always erroring out.
  • #19650 support unstable UnsafePinned struct in type layout computation.
  • #19647 fix panics in inlay hints that produce empty text edits for closure return types.
  • #19684 report error when unable to parse a DiscoverProjectMessage.

Internal Improvements

  • #19678 arena-allocate LifetimeRefs.
  • #19655 fold hygiene map into the bindings themselves.
  • #19677 remove WherePredicateTypeTarget.
  • #19644 make predefined symbols const instead of static.
  • #19688 add some missing shrink_to_fit()s and upgrade dashmap and hashbrown.
  • #19624 bump chalk to make the generic parameter order match rustc.
  • #19661 bump salsa.

See also the changelog post.

Commit: 723121e
Release: 2025-04-21 (v0.3.2431)

New Features

Fixes

  • #19576 (first contribution) ignore more rustfmt parsing errors.
  • #19596 include generic parameters and default values in signature help.
  • #19590 add pub(crate) mod option for unlinked files.
  • #19588 include inline format macro variables in "Extract into function".
  • #19589 fix highlighting for tail expr in labelled blocks.
  • #19619 sort notable traits in hover.
  • #19612 fix a bug with predicate lowering of associated items.
  • #19613 fix panic with implemented trait method that declares an extra lifetime parameter.
  • #19579 prevent panics on cyclic dependencies dependency between closures.
  • #19628, #19642 don't ignore config values that fail to parse.

Internal Improvements

  • #19578 (first contribution) normalize drive letters in the VS Code extension.
  • #19638, #19639 (first contribution) add anchors to configuration options and fix dead links to the manual.
  • #19616 make hir-ty non-diagnostic queries transparent (saves 56 MB on analysis-stats self).
  • #19617 make HirFileId, EditionedFileId and macro files salsa structs (saves 165 MB on analysis-stats self).
  • #19591 use ast::TokenTree in make::expr_macro.
  • #19572 migrate expand_rest_pattern to SyntaxEditor.
  • #19568 migrate destructure_struct_binding to SyntaxEditor.
  • #19569 return correct types for make::expr_* methods.
  • #19600 pin the rustc used for the proc-macro-src CI job.
  • #19521 cancel parallel CI jobs if tests fail.

See also the changelog post.

Commit: 8365cf8
Release: 2025-04-14 (v0.3.2379)

New Features

  • #19255, #19554 (first contribution) add "Locate child modules" command.

Fixes

  • #19432 fix another false positive invalid cast diagnostic.
  • #19563 walk const block expressions for unsafety checking.
  • #19541 prefer imports of matching types for argument lists.
  • #19461 fix shadowing of modules by types.
  • #19571 fix missing test update notifications when there are hyphens in the target name and exclude dependencies from "Run all".

Internal Improvements

  • #19425 (first contribution) make drop glue info less verbose.
  • #19462, #19558, #19570 lower TypeRefs before type inference.
  • #19536 port closure inference from rustc.
  • #19566 use the callable_item_signature query in dyn-compatibility checks.
  • #19550 turn LifetimeRef into an enum.
  • #19562 tweak invalid signature bitflags.
  • #19573 render sigantures in "View HIR" command.
  • #19512 fix some stdx lints.
  • #19559 switch to Rust 1.86.
  • #19565 add prime-caches subcommand.

See also the changelog post.

Commit: 588948f
Release: 2025-04-07 (v0.3.2370)

Fixes

  • #19526 (first contribution) use constant, not const in rustdoc links.
  • #19447 add impl for completion.
  • #19515 don't drop references with more than one definition.
  • #19501 fix a regression in MBE expansion.
  • #19531 fix format_args! lowering for 1.87.
  • #19522 fix panic in "View crate graph".
  • #19523 fix proc macro server spawning.
  • #19514 fix bracket colorization in strings.

Internal Improvements

  • #19490 (first contribution) fix panic in analysis-stats progress line slicing.
  • #19492 avoid a needless block_def_map() access.
  • #19496 replace some #[salsa::invoke]s with invoke_actual.
  • #19494 unwrap some unnecessary Arcs.
  • #19482 clean up parameter name inlay hint filtering heuristics.
  • #19509 drop AssistKind::None.
  • #19484 fix new lints in nightly.
  • #19520 align usage of default and new with style guide.
  • #19485 clean up CI a bit.
  • #19493 disable rust-cache in CI.
  • #19533 set up a job matrix for rust-cross.
  • #19519 add rust-analyzer.cargo.noDeps option.

See also the changelog post.

Commit: fb133c8
Release: 2025-03-31 (v0.3.2362)

New Features

  • #19375 allow crate authors to disable completions using #[rust_analyzer::completions].
  • #19388 parse unsafe record fields.
  • #19347 add diagnostic for ambiguous &impl 'a + Sized.

Fixes

  • #19475 (first contribution) fix debug source map.
  • #19433 fix let else to if let else conversion.
  • #19435 fix ranges in closure return inlay hints.
  • #19466 fix a bug in orphan rule check.
  • #19474 fix, clarify and require a value for proc_macro_cwd of CrateData.

Internal Improvements

  • #19440 replace custom ThinVec with the thin-vec crate.
  • #19451 use medium durability for crate graph changes, high for library source files.
  • #19359 emit lines of code and item tree counts in analysis-stats.
  • #19457 remove salsa dependency from proc macro server again.
  • #19446, #19448 run tests under cargo miri.
  • #19422 clean up VS Code output channels, drop debug.openDebugPane.
  • #19430 bump dependencies.

See also the changelog post.

Commit: 37acea8
Release: 2025-03-24 (v0.3.2353)

Fixes

  • #19384 fix stale "Building CrateGraph" report.
  • #19416 handle multiple #[repr(..)] attributes correctly.
  • #19362 speed up resolving a "Generate delegate method" assist.
  • #19348 add text edit support for return type hints on non-block body closures.
  • #19413 properly calculate the layout of unsized tuple pointers.
  • #19320 mark manual trait implementations as unsafe when replacing a derive.
  • #19400 fix syntax highlighting for &raw const / &raw mut in standalone files.
  • #19397 add postfix completion for const block.
  • #19005 fix testing of packages with multiple targets.

Internal Improvements

  • #19408 replace #[derive]s to reduce codegen burden for generated syntax types.
  • #19390 do not use Expander in associated item lowering.
  • #19412 remove some unnecessary usages of Semantics.
  • #19429 remove unused dependencies.
  • #19419 render layout and other extra information when hovering Self.
  • #19329 add some docs to proc-macro-api.
  • #19379 bump Edition::CURRENT to 2024.
  • #19378 trigger salsa LRU at the end of analysis-stats.
  • #19315 do not generate docs with in xtask codegen --check.
  • #19391 clean up proc-macro-srv CI job.

See also the changelog post.

Commit: b0632f7
Release: 2025-03-17 (v0.3.2345)

Announcement

This release brings two major changes, which might make it slightly spicier than usual.

The first is upgrading to the latest version of salsa, the incremental evaluation framework used by rust-analyzer.
This will make it possible to implement parallel evaluation and persistency in the future.

The second change is to use salsa for the crate graph, making it incremental.
Adding or removing a dependency, or editing a build script or proc macro, will now invalidate only the affected crates instead of the entire workspace.

New Features

  • #19079, #19332 warn when a rename will change the meaning of the program:

  • #18964 put a new batch of salsa on rust-analyzer.

  • #19337 put salsa on the crate graph.

  • #19271 add "Convert for into while let" assist.

Fixes

  • #19344 add icons to VS Code views:

    Screenshot showing an icon on the Explorer: Rust Dependencies sidebar

  • #19252 fix syntax fixup producing invalid punctuation.

  • #19333 fix diagnostics being cleared right after being received.

  • #19330 normalize projections in evaluated const display and layout calculation.

  • #19363 display varargs in completion detail.

  • #19325 rank ADT constructors as such for completion scoring.

  • #19326 add missing name-ref parents to syntactic highlighting.

  • #19327 fix path macro hygiene.

  • #19311 log build script error output for Cargo projects.

  • #19351 don't panic when the crate graph isn't ready.

  • #19356 avoid recursively debug printing crates.

Internal Improvements

  • #19314 (first contribution) impl HasSource for VariantDef.
  • #19367 drop legacy salsa.
  • #19354 prepare for Return Type Notation (RTN) and add a diagnostic.
  • #19232 bump chalk to get support for async closures.
  • #19305 vendor query-group-macro in rust-analyzer.
  • #19364 add missing with_durability calls.
  • #19368 remove CrateGraphBuilder::iter_mut.
  • #19236 switch to the 2024 edition.
  • #19369 do not error out for actions with no data to resolve.
  • #19366 remove legacy SyntaxContextId re-export.
  • #19228 split up some ADT queries.
  • #19355 render root syntax contexts more clearly.
  • #19343 make GenericParamsCollector::type_or_consts private.
  • #19328 run proc-macro server tests in a separate CI job.
  • #19334 remove generated mdbook files.

See also the changelog post.

Commit: 5e7dd31
Release: 2025-03-10 (v0.3.2337)

New Features

  • #19243 allow unsetting default #[cfg]s.
  • #19265 add diagnostic for dangling dyn and impl.

Fixes

  • #19226 (first contribution) improve completions that return a reference.
  • #19279 (first contribution) add letm and improve let keyword completion.
  • #19308 bring back support for Rust 1.78 projects.
  • #19261 support tuple structs in expand_rest_pattern.
  • #19324 fix adding of brackets in "Inline variable".
  • #19297 fix completion relevance check.
  • #19290 warn when cargo metadata fails.
  • #19292 handle modifiers in punctuation highlighting.
  • #19274 don't highlight unsafe definitions as unsafe.
  • #19295 make "rust-analyzer: Run" available in manifest file.

Internal Improvements

  • #19288 (first contribution) use size_of from the prelude.
  • #19244, #19275 warn when the active toolchain is too old.
  • #19286 twiddle with the rustup invocation on CI.

See also the changelog post.

Commit: 02862f5
Release: 2025-03-04 (v0.3.2330)

New Features

  • #19243 allow unsetting default #[cfg]s.

Fixes

  • #19226 (first contribution) improve completions that return a reference.
  • #19261 support tuple structs in expand_rest_pattern.

Internal Improvements

See also the changelog post.

Commit: 81ff38f
Release: 2025-03-03 (v0.3.2328)

Announcement

The x86-64, AArch64 and ARM Linux binaries now target GLIBC 2.28, and will keep doing so for the foreseeable future, which might be until June 2029.

In addition, this version drops support for toolchains older than 1.82.

New Features

  • #18987 calculate drop glue and show it on hover.
  • #19259 add "flip or-pattern" assist.
  • #19230 set up Zig on CI and start using it in rust-analyzer.

Fixes

  • #19197 (first contribution) update insta inline snapshot using cargo insta when clicking "Update Test" runnable.
  • #19246 (first contribution) add anchor for intra-doc links to associated items.
  • #19266 (first contribution) add identifier to pull diagnostic LSP capabilities.
  • #19211 include private items in completions for local crates.
  • #19223 support target features implications in target_feature 1.1.
  • #19204 allow package/feature format for features.
  • #19241 map crate ids for proc macros in sysroot crate graph construction.
  • #19249 avoid unnecessary parantheses in prefix adjustment hints.
  • #19250 use precedence calculation for parentheses in inline_local_variable.
  • #19221 add tab stop to impl body in generate_trait_impl.

Internal Improvements

  • #19239 (first contribution) configure out performance counters on ohos to fix compilation.
  • #19096 allow rust-project.json to specify sysroot workspace.
  • #19225 migrate remove_mut, remove_parantheses and remove_unused_param to SyntaxEditor.
  • #19171 migrate apply_demorgan to SyntaxEditor.
  • #19253 migrate convert_bool_then to SyntaxEditor.
  • #19251 remove syntax editing from parenthesis computation.
  • #19257 clean up syntax highlighting.
  • #19219 vendor always-assert into stdx.
  • #19237 enable doctests.
  • #19218 make release builds from source non-incremental.
  • #19194 bump VS Code extension deps.

See also the changelog post.

Commit: 6d68c47
Release: 2025-02-24 (v0.3.2319)

New Features

  • #19158 (first contribution) add expand_glob_reexport assist.
  • #19127 refactor path lowering and serve a new path diagnostic.

Fixes

  • #19151 (first contribution) use correct working directory for proc macro execution.
  • #19179 disable assists with many results if grouping not supported.
  • #19182 fix associated type lowering in trait bounds.
  • #19167 fix detection of ref patterns for path patterns.

Internal Improvements

  • #19209 (first contribution) fix inline parser codegen test.
  • #19191 remove limit crate in favor usize.
  • #19188 use ubuntu-latest (with Rocky Linux 8) workers for releases.

See also the changelog post.

Commit: 84b6936
Release: 2025-02-17 (v0.3.2308)

Fixes

  • #19088 (first contribution) fix resolution with modules that shadow built-in types.
  • #19117, #19144 (first contribution) don't emit implicit drop inlay hints in macro calls.
  • #19137 (first contribution) highlight extern crate in doc comments.
  • #19156 (first contribution) mark ~/.cargo/git/checkouts as read-only.
  • #19129 fix postfix completions in macro calls.
  • #19148, #19160 improve error recovery when calling a field or associated function.
  • #19125 censor #[cfg_attr] for attribute macros.
  • #19124 fix off-by-one error in range formatting.
  • #18998 make rust-analyzer.files.excludeDirs actually work.
  • #19111 apply adjustments to proper expression in CoerceMany.
  • #19109 do not show safety hints for extern items lacking semantics.
  • #18928 handle character boundaries in import search.
  • #18995 lower range pattern bounds to expressions.
  • #19143 propagate error types in MIR type projections.

Internal Improvements

  • #19110 (first contribution) panic_context.
  • #19142 spawn toolchain querying processes in parallel.
  • #19155 migrate add_missing_match_arms to SyntaxFactory.
  • #19163 stabilize sort order of related_tests.
  • #19161, #19166 improve sort order of runnables.
  • #19159 set RUSTUP_TOOLCHAIN when loading sysroot workspace.
  • #19150 apply cfg.setTest to rust-project.json.

See also the changelog post.

Commit: 35181e1
Release: 2025-02-10 (v0.3.2299)

New Features

  • #19104 add option to disable inlay type hints for closure parameters.

Fixes

  • #19066 array types from slice patterns.
  • #19094 fix IDE resolution of use inside bodies.
  • #19086 fix some MIR eval and lowering issues.
  • #18912 up-map ranges in convert_tuple_struct_to_named_struct.
  • #19105 don't emit empty SCIP occurrence for built-ins.
  • #19062 fix SCIP indexing of module names.
  • #19106 resolve projection types before checking pointer casts.

Internal Improvements

@philips-software-forest-releaser philips-software-forest-releaser bot requested a review from a team as a code owner July 27, 2025 03:16
@philips-software-forest-releaser philips-software-forest-releaser bot added dependencies Pull requests that update a dependency file vscode-extensions labels Jul 27, 2025
@sonarqubecloud
Copy link

@github-actions
Copy link
Contributor

📦 Container Size Analysis

Comparing ghcr.io/philips-software/amp-devcontainer-rust:edge to ghcr.io/philips-software/amp-devcontainer-rust:pr-877

📈 Size Comparison Table

OS/Platform Previous Size Current Size Change Trend
linux/amd64 489.26M 489.26M 0.00 (+0.00%) 🔄
linux/arm64 441.23M 441.23M 0.00 (+0.00%) 🔄

@github-actions
Copy link
Contributor

📦 Container Size Analysis

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:edge to ghcr.io/philips-software/amp-devcontainer-cpp:pr-877

📈 Size Comparison Table

OS/Platform Previous Size Current Size Change Trend
linux/amd64 657.03M 657.03M 0.00 (+0.00%) 🔄
linux/arm64 639.74M 639.74M 0.00 (+0.00%) 🔄

@github-actions
Copy link
Contributor

🦙 MegaLinter status: ⚠️ WARNING

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 18 0 0 0.54s
✅ DOCKERFILE hadolint 2 0 0 0.82s
✅ GHERKIN gherkin-lint 2 0 0 0.93s
✅ JSON npm-package-json-lint yes no no 0.39s
✅ JSON prettier 16 1 0 0 0.52s
✅ JSON v8r 16 0 0 6.46s
✅ MARKDOWN markdownlint 9 0 0 0 0.87s
✅ MARKDOWN markdown-table-formatter 9 0 0 0 0.28s
✅ REPOSITORY checkov yes no no 16.04s
✅ REPOSITORY gitleaks yes no no 0.41s
✅ REPOSITORY git_diff yes no no 0.01s
⚠️ REPOSITORY grype yes no 1 24.21s
✅ REPOSITORY secretlint yes no no 0.95s
✅ REPOSITORY syft yes no no 1.82s
✅ REPOSITORY trivy yes no no 6.92s
✅ REPOSITORY trivy-sbom yes no no 0.23s
✅ REPOSITORY trufflehog yes no no 3.3s
✅ SPELL lychee 63 0 0 2.02s
✅ YAML prettier 24 0 0 0 0.86s
✅ YAML v8r 24 0 0 6.05s
✅ YAML yamllint 24 0 0 0.92s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

@github-actions
Copy link
Contributor

Test Results

 4 files  ±0   4 suites  ±0   2m 24s ⏱️ ±0s
30 tests ±0  30 ✅ ±0  0 💤 ±0  0 ❌ ±0 
64 runs  ±0  64 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 33d0c35. ± Comparison against base commit 8ea2dcf.

@esalman-philips esalman-philips merged commit 5c3b554 into main Jul 27, 2025
35 checks passed
@esalman-philips esalman-philips deleted the feature/amp-devcontainer-rust/update-vscode-extensions branch July 27, 2025 15:47
@github-actions
Copy link
Contributor

Pull Request Report (#877)

Static measures

Description Value
Number of added lines 1
Number of deleted lines 1
Number of changed files 1
Number of commits 1
Number of reviews 1
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 0
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 4

Time related measures

Description Value
PR lead time (from creation to close of PR) 12.5 Hours
Time that was spend on the branch before the PR was created 2 Sec
Time that was spend on the branch before the PR was merged 12.5 Hours
Time to merge after last review 8 Sec

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 33 Min
Total time spend in last status check run on PR 10.8 Min

@github-actions
Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v6.2.2 🎉

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