Skip to content

chore(deps, rust): update rust-lang.rust-analyzer, usernamehw.errorlens#787

Merged
Ron (rjaegers) merged 1 commit into
mainfrom
feature/amp-devcontainer-rust/update-vscode-extensions
May 7, 2025
Merged

chore(deps, rust): update rust-lang.rust-analyzer, usernamehw.errorlens#787
Ron (rjaegers) merged 1 commit into
mainfrom
feature/amp-devcontainer-rust/update-vscode-extensions

Conversation

@philips-software-forest-releaser
Copy link
Copy Markdown
Contributor

@philips-software-forest-releaser philips-software-forest-releaser Bot commented Apr 27, 2025

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 usernamehw.errorlens from 3.25.0 to 3.26.0

Release notes

Updates rust-lang.rust-analyzer from 0.3.2379 to 0.3.2441

Release notes

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: 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.
  • #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

  • #19083 (first contribution) don't try to use NEON on big-endian AArch64.
  • #19084 split cache priming into distinct phases.
  • #19085 don't use InferenceResult::has_errors flag for MIR building.
  • #19099 use interior mutability for loaded ProcMacroSrv::expanders.
  • #19093 prevent panics from tearing down worker threads.

See also the changelog post.

Commit: f3998f7
Release: 2025-02-03 (v0.3.2291)

New Features

  • #19001, #19063 implement default-field-values.
  • #19038 support RFC 2396 (target-feature 1.1).

Fixes

  • #19061 temporarily disable Receiver-based completions.
  • #19050 don't suggest .into_iter().method() on iterators.
  • #19047 fix syntactic highlighting for renames.
  • #19044 fix #[rustc_deprecated_safe_2024].
  • #19045 fix a missing standard semantic token.
  • #19037 delay recursion check, to help with custom #[test] macros.
  • #19051 mark unsafe function pointer calls as unsafe.
  • #19056 properly handle CRLF line endings in the syntax tree view.
  • #19057 show status bar item in the VS Code Output pane.

Internal Improvements

  • #19072 (first contribution) be more principled when computing completion_item_hash.
  • #19055 (first contribution) enable some working code on FreeBSD.
  • #19052, #19080 prioritize formatting tasks and only take read VFS lock when rebuilding the crate graph.
  • #19036 split out ExpressionStore from Body.
  • #19070 remove mutable syntax tree usage from adjustment hints.
  • #19067 bump TentHash to 1.0.
  • #19015 convert manual to mdBook.

See also the changelog post.

Commit: 2df4ecf
Release: 2025-01-27 (v0.3.2282)

New Features

  • #18934 add the ability to jump from into to from definitions.
  • #18993 make auto-insertion of await and iter() in completions configurable.
  • #19012 implement arbitrary_self_types.

Fixes

  • #19004 (first contribution) increase AUTODEREF_RECURSION_LIMIT to 20.

  • #18973 make niches into nices (improve niche count rendering).

    a type with nicely-formatted 2⁶³ niches

  • #19034 don't complete #[doc(hidden)] enum variants and use trees.

  • #18976 consider enum variants in type ns resolution.

  • #18988 de-prioritize completions that add await and iter().

  • #19016, #19018 record glob imports in ItemScope.

  • #19028 filter by path stability in flyimport.

  • #19030 fix markdown horizontal ruler sometimes being treated as a heading.

  • #19020 prevent infinite recursion when formatting bounds.

  • #19017 fix flycheck panic with once invocation strategy.

  • #18977 fix missing upmapping in trait impl completion.

  • #18982 reduce "Extract variable" range.

  • #18967 properly record meaningful imports as re-exports in symbol index.

  • #18986 go to Display::fmt when invoked on to_string.

  • #19014 check cfgs when collecting macro defs.

  • #19026 only collect implicit visibile use symbols if they have renames.

  • #19033 make proc-macro-srv spans lines and columns 1-indexed (but always 1).

  • #19019 explicitly add buildfiles when constructing ProjectFolders.

  • #18989 only refresh syntax tree view when the active document changes.

Internal Improvements

  • #18981 (first contribution) make usage of RTLD_DEEPBIND in proc macro server portable.
  • #18991 keep already computed inlay hint properties instead of late resolving them.
  • #19029 skip redundant path search in resolve_completion_edits.
  • #18909 use strict_provenance in symbol interner.
  • #18984 move dual blanket impl logic from source_analyzer to goto_def.
  • #18990 clean up Name string rendering.
  • #18994 treat cfg fetching failures as a warning, not error.
  • #18878 document all rust-project.json fields.
  • #18972 drop outgoing lsp-server messages on a background thread.

See also the changelog post.

Commit: 248bd51
Release: 2025-01-20 (v0.3.2273)

New Features

  • #18917 add dereferencing completions.
  • #18927 automatically include await, iter() and into_iter() in completions
  • #18925 render type parameter projection target bounds in inlay hints.
  • #18946, #18950 show "Go to type definition" actions for type bounds in functions.
  • #18952 complete raw and const keywords.
  • #18939 flip rust-analyzer.typing.excludeChars to be opt-in, with better defaults.

Fixes

  • #18908 (first contribution) report errors blocks before else in let-else.
  • #18953 (first contribution) fix broken #[cfg(debug_assertions)].
  • #18933 (first contribution) bump update notify to fix a Windows crash.
  • #18944 update chalk, to fix trait upcasting.
  • #18949 partially back out "fix source root construction for virtual manifests".
  • #18929 avoid stack overflow when reaching macro expansion limit.
  • #18940 fix Semantics not always caching file roots correctly.
  • #18922 don't return inlay hints outside requested range.
  • #18897 make test_runner::TestState::stdout optional to fix parsing cargo test JSON output.
  • #18968 enable unstable-options for cargo rustc --print.
  • #18937 hide syntax tree view by default.

Internal Improvements

  • #18957 update syntax tree viewer docs.
  • #18951 add missing #[rust_analyzer::rust_fixture] annotations.

See also the changelog post.

Commit: 8364ef2
Release: 2025-01-13 (v0.3.2264)

New Features

  • #18880 (first contribution) add config to include additional paths in the VFS.
  • #18885 (first contribution) change rust-analyzer.cargo.cfgs from a map to a list.
  • #18907 implement #[rust_analyzer::skip] for bodies.
  • #18903 implement implicit sized bound inlay hints.
  • #18813 reimplement the syntax tree view as a sidebar.
  • #18906 reimplement Rust string highlighting using a tool attribute.
  • #18788 re-remove rust-analyzer.cargo.sysrootQueryMetadata.

Fixes

  • #18832 (first contribution) do not offer completions within strings in macro calls.
  • #18866 (first contribution) fix JSON project buildfile inclusion.
  • #18858 clear diagnostics on cancel unconditionally.
  • #18853 fix case where completion inside macro that expands to #[test] was unavailable.
  • #18864 fix diagnostics not clearing between flychecks.
  • #18877 fix performance issue on missing MBE bindings.
  • #18884 fix env! completions.
  • #18900 do not call prettify_macro_expansion unless "Inline macro" has actually been invoked.
  • #18904 improve module path rendering in hover.
  • #18861 make edition per-token, not file.
  • #18920 fix ref text edit for binding mode hints.
  • #18889 fix token lookup in macro call completions.
  • #18899 fix another panic in fixup reversing.

Internal Improvements

  • #18855 migrate if-let replacement assists to SyntaxEditor.
  • #18524 migrate (un)wrap_return_type assists to SyntaxEditor.
  • #18902 add Definition::Crate.
  • #18921 compute inlay hint text edits lazily.
  • #18923 compute inlay hint tooltips lazily.
  • #18867 support target-tuple (vs. target-triple) and clean up version fetching.
  • #18887 refactor test helpers within ide-completions.

See also the changelog post.

Commit: 91fc0a2
Release: 2025-01-08 (v0.3.2257)

New Features

  • #18788 re-remove rust-analyzer.cargo.sysrootQueryMetadata.

Fixes

  • #18832 (first contribution) do not offer completions within strings in macro calls.
  • #18866 (first contribution) fix JSON project buildfile inclusion.
  • #18864 fix diagnostics not clearing between flychecks.
  • #18877 fix performance issue on missing MBE bindings.

Internal Improvements

  • #18867 support target-tuple (vs. target-triple) and clean up version fetching.

See also the changelog post.

Commit: cd12ef8
Release: 2025-01-07 (v0.3.2253)

Fixes

  • #18858 clear diagnostics on cancel unconditionally.
  • #18853 fix case where completion inside macro that expands to #[test] was unavailable.

Commit: 3f2bbe9
Release: 2025-01-06 (v0.3.2249)

New Features

  • #18757 add support for updating expect-test, insta and snapbox snapshot tests.
  • #18179 allow excluding specific traits from completion.
  • #18801 show "Go to type definition" actions for generics substitutions on hover.
  • #18821 add support for CoercePointee.

Fixes

  • #18806 (first contribution) re-enable crate graph de-duplication.
  • #18797 (first contribution) generate exhaustive match in "Replace if-let with match".
  • #18758 (first contribution) improve SCIP symbols.
  • #18835 hide synthetic locals from completions.
  • #18791 avoid generating colliding names in "Extract variable".
  • #18794 fix "Fill match arm" producing an extra brace in some proc macros.
  • #18802 use the correct file_id used for ranges for outgoing calls.
  • #18807, #18841 populate cargo config environment variables.
  • #18826, #18848, #18817 properly clear flycheck diagnostics.
  • #18819 fix overflow detection in MIR evaluation.
  • #18843 correctly handle new-style rustc_intrinsic safety.
  • #18845 check the right package in flycheck.
  • #18795, #18820 fix rendering of literals in code blocks.
  • #18836 be more permissive with completion resolve data.
  • #18830 fix custom snippet deserialization.

Internal Improvements

  • #18822 (first contribution) allow targetDir to be an absolute path.
  • #18327, #18852 store token trees in contiguous Vec instead of as a tree.
  • #18809 do not render closure ids in hover messages.
  • #18790 define a quoting mechanism instead of textual AST make.
  • #18805 implement <RaSpanServer as SourceFile>::eq.
  • #18792 decouple proc macro server protocol from the server implementation.
  • #18829, #18831 revert 'revert "disable rustc test metrics"'.

See also the changelog post.

Commit: 59bc7b4
Release: 2024-12-30 (v0.3.2237)

New Features

  • #18707 show substitution where hovering over generic things.
  • #18743 unify handling of path diagnostics in hir-ty.

Fixes

  • #18744 (first contribution) treat ; as a terminator rather than part of a glued expression.
  • #18756 add missing enum name when hovering on variant fields.
  • #18778 fix flycheck diagnostics flickering for binary targets.
  • #18784 do not merge spans with different anchors.
  • #18789 fix invalid -O flag used by cfg discovery.
  • #18722 rename rust-analyzer.statusBar.documentSelector to showStatusBar, add always and never options.

Internal Improvements

  • #18774 implement parameter variance inference.
  • #18718 standardize iterator passing in SyntaxFactory.
  • #18760, #18762 work around leaking salsa cycles.
  • #18761 swallow config value is not set Cargo error.
  • #18754 clean up target fetching for Cargo metadata.
  • #18785 clean up toolchain info fetching.
  • #18750 revert "disable rustc test metrics".
  • #18787 automatically cancel CI checks on new push to PR.

See also the changelog post.

Commit: fa4a40b
Release: 2024-12-23 (v0.3.2228)

New Features

  • #18696 report unresolved idents for implicit captures in format_args!().

Fixes

  • #18723 fix a case where completion was unable to expand a tracing macro.
  • #18699 fix path-qualified auto-importing completions not working with re-exports.
  • #18729 clear flycheck diagnostics more granularly.
  • #18741 delay initial flycheck until after build scripts.
  • #18726 reduce applicability of the unnecessary_async assist.
  • #18695 improve name suggestion for destructure_tuple_binding.
  • #18690 use string literal contents as a name when extracting into variable.
  • #18700 fix unresolved_field when a keyword is used as a field.
  • #18708 fix pretty-printing of @ patterns.
  • #18714 do not ask the client to resolve for non-existent label details.
  • #18716 consider both completion detail fields in to_proto.
  • #18727 fix "tried adding a runnable pointing to a different file" panic.
  • #18739 don't trigger parenthesis wrapping typing handler after identifiers.
  • #18740 fix empty check diagnostics not marking files as changed.
  • #18738, #18742 properly test if workspace flychecking is allowed.
  • #18711 don't mark &raw of deref as unsafe.

Internal Improvements

  • #18715 (first contribution) fix AsmOption rule in rust.ungram.
  • #18731 revert "drop proc macro server support for 1.66 and older toolchains".
  • #18698 don't serialize empty fields in completion and resolve payloads.
  • #18713 cleanup label structure of CompletionItem.
  • #18717, #18735 set result_id for pull diagnostics.
  • #18697 simplify ratoml test directory handling.
  • #18728 use serde_derive intead of derive feature.
  • #18710 remove salsa from proc macro server dependency tree.

See also the changelog post.

Commit: 27e824f
Release: 2024-12-16 (v0.3.2220)

New Features

  • #18670 drop proc macro server support for 1.66 and older toolchains.
  • #18458 add diagnostic fix to remove unnecessary Some or Ok wrapper on type mismatch.
  • #18652 add "Extract into constant" assist.

Fixes

  • #18667 (first contribution) fix "Replace #[derive()]` when snippet text edits are disabled.
  • #18653 hash completion items to properly match them when resolved.
  • #18645 allow uninhabited non-exhaustive structs.
  • #18663 swallow rustfmt parsing panics.
  • #18660 clean up copied proc macro libraries on exit.
  • #18675 fix panic when displaying generic params with defaults, again.
  • #18684 re-enable snippet text edits capability.
  • #18656 preserve order of parameters in "Extract function".
  • #18674 show expansion errors in "Expand macro at caret".
  • #18466 properly handle different defaults for severity of lints.
  • #18668 fix source root construction for virtual manifests.

Internal Improvements

  • #18643 rename test fixture crates to ra_test_fixture.
  • #18644 remove cfg-if patching hack.
  • #18647 disable pipe in typing handler.
  • #18657 migrate generate_enum_variant assist to SyntaxEditor.
  • #18531 map new replacement nodes to their mutable equivalents in SyntaxEditor.
  • #18669 only parse the object file once in proc-macro-srv.
  • #18677 implement naked_asm! built-in.
  • #18672 simplify dummy proc-macro-srv.
  • #18694 show MIR eval errors on hover when debug environment variable is set.
  • #18693 fix proc-macro library names on Windows.
  • #18441 try not cache the config directory path.

See also the changelog post.

Commit: 4c755e6
Release: 2024-12-09 (v0.3.2212)

New Features

  • #18541 add infrastructure and a first type lowering diagnostic.
  • #18609 report union field accesses and inline assembly as unsafe.
  • #18604 complete derive helper attributes.
  • #18594 support AsyncFn traits.
  • #18522 add setting to exclude trigger characters from format-on-type.

Fixes

  • #18610 add implict unsafety inlay hints for extern blocks.
  • #18589 advertise completions and inlay hints resolve based on the client capabilities.
  • #18630 temporarily disable completion resolve support for Helix and Neovim.
  • #18618 fix parsing of integer/keyword name references in various places.
  • #18608 improve parser recovery for paths.
  • #18625 fix parser getting stuck for bad asm expressions.
  • #18593, #18622 fix parsing of parenthesized type arguments and RTN.
  • #18586 inherit environment in debug configurations.
  • #18587 fix syntax fixup inserting unnecessary semicolons.
  • #18555 fix a bug where synthetic AST nodes were looked up in the AST ID map.
  • #18607 fix shadowing of record enum variants in patterns.
  • #18605 fix another glob import name resolution bug.
  • #18611 do not report warnings from proc macros, ever.
  • #18474, #18616 make bracket typing handler work on more things.
  • #18627 improve semicolon insertion typing handler heuristics.
  • #18628 add typing handler for parameter list pipe.
  • #18619 fix panic when displaying generic parameters with defaults.
  • #18620 parse lifetime bounds in lifetime parameters into TypeBoundList.
  • #18621 resolve generic parameters within use captures.
  • [#18629](https://www.github.com/rust-analyzer/ru

@philips-software-forest-releaser philips-software-forest-releaser Bot requested a review from a team as a code owner April 27, 2025 03:00
@philips-software-forest-releaser philips-software-forest-releaser Bot added dependencies Pull requests that update a dependency file vscode-extensions labels Apr 27, 2025
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2025

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:4b93d0b1b94d66d6c1b99201f24f7a99d1503ab17d07587b82aa573a8ab4db17

OS/Platform Previous Size Current Size Delta
linux/amd64 482.86M 482.86M 0.00 (+0.00%)
linux/arm64 434.30M 434.30M 0.00 (+0.00%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2025

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:fb5751a5d590e4e35a7938440b9291f4bda34c7abb0cb9d0586dd8d18e8b846c

OS/Platform Previous Size Current Size Delta
linux/amd64 692.87M 692.87M 0.00 (+0.00%)
linux/arm64 674.96M 674.96M 0.00 (+0.00%)

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2025

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 17 0 0 0.08s
✅ DOCKERFILE hadolint 2 0 0 0.5s
✅ GHERKIN gherkin-lint 2 0 0 0.83s
✅ JSON npm-package-json-lint yes no no 0.37s
✅ JSON prettier 15 1 0 0 0.39s
✅ JSON v8r 15 0 0 9.96s
✅ MARKDOWN markdownlint 9 0 0 0 0.84s
✅ MARKDOWN markdown-table-formatter 9 0 0 0 0.22s
✅ REPOSITORY checkov yes no no 15.63s
✅ REPOSITORY gitleaks yes no no 0.28s
✅ REPOSITORY git_diff yes no no 0.01s
✅ REPOSITORY grype yes no no 21.54s
✅ REPOSITORY secretlint yes no no 1.02s
✅ REPOSITORY syft yes no no 1.3s
✅ REPOSITORY trivy yes no no 5.11s
✅ REPOSITORY trivy-sbom yes no no 0.08s
✅ REPOSITORY trufflehog yes no no 3.71s
✅ SPELL lychee 60 0 0 21.25s
✅ YAML prettier 22 0 0 0 0.66s
✅ YAML v8r 22 0 0 6.69s
✅ YAML yamllint 22 0 0 0.44s

See detailed report in MegaLinter reports

You could have the same capabilities but better runtime performances if you use a MegaLinter flavor:

MegaLinter is graciously provided by OX Security

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 27, 2025

Test Results

 2 files   2 suites   1m 19s ⏱️
29 tests 29 ✅ 0 💤 0 ❌
31 runs  31 ✅ 0 💤 0 ❌

Results for commit 537ea71.

♻️ This comment has been updated with latest results.

@philips-software-forest-releaser philips-software-forest-releaser Bot force-pushed the feature/amp-devcontainer-rust/update-vscode-extensions branch from c12b606 to 537ea71 Compare May 4, 2025 03:04
@philips-software-forest-releaser philips-software-forest-releaser Bot changed the title chore(deps, rust): update rust-lang.rust-analyzer chore(deps, rust): update rust-lang.rust-analyzer, usernamehw.errorlens May 4, 2025
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 4, 2025

@rjaegers Ron (rjaegers) added this pull request to the merge queue May 7, 2025
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks May 7, 2025
@rjaegers Ron (rjaegers) added this pull request to the merge queue May 7, 2025
Merged via the queue into main with commit d4b92ad May 7, 2025
23 checks passed
@rjaegers Ron (rjaegers) deleted the feature/amp-devcontainer-rust/update-vscode-extensions branch May 7, 2025 08:38
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 7, 2025

Pull Request Report (#787)

Static measures

Description Value
Number of added lines 2
Number of deleted lines 2
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) 10.2 Days
Time that was spend on the branch before the PR was created 0 Sec
Time that was spend on the branch before the PR was merged 3.2 Days
Time to merge after last review 14.6 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 23 Min
Total time spend in last status check run on PR 3.2 Days

@github-actions
Copy link
Copy Markdown
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v6.0.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.

1 participant