Skip to content

Subtree update of rust-analyzer - #140385

Merged
bors merged 426 commits into
rust-lang:masterfrom
lnicola:sync-from-ra
Apr 30, 2025
Merged

Subtree update of rust-analyzer#140385
bors merged 426 commits into
rust-lang:masterfrom
lnicola:sync-from-ra

Conversation

@lnicola

Copy link
Copy Markdown
Member

Veykriland others added 30 commits March 29, 2025 07:24
fix: Fix, clarify and require a value for `proc_macro_cwd` of `CrateData`
Fix debug sourceFileMap when using cppvsdbg
fix: Cleanup param name inlay hint filtering
…s-report
fix: Fix panic in progress due to splitting unicode incorrectly
We can compute the wanted information from the block's interned data.
Avoid relying on `block_def_map()` needlessly
It doesn't actually work with merge groups ...
chore: Replace some `invoke`s with `invoke_actual` in hir-ty
…er bug in MBE
Specifically, rust-lang#18744 was the PR that was supposed to fix the old bug, but it fixed it incorrectly (and didn't add a test!) The underlying reason was that we marked metavariables in expansions as joint if they were joint in the macro call, which is incorrect.
This wrong fix causes other bug, rust-lang#19497, which this PR fixes by removing the old (incorrect) fix.
This was being used by a single assist, which qualifies under the "refactor"
kind. The variant has been removed, and all usages updated accordingly.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
…s-string
Fix color brackets in string context
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
A Cargo project can now be built without any dependency metadata being fetched.
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
Implicit field references during struct initialization were
being dropped because get_definition was returning None because
there were multiple definitions.
This adds a new helper, `get_defintions`, that supports returning
more than one definition for a given token and hooks it up.
Fixesrust-lang#19393
@rustbotrustbot added A-tidy Area: The tidy tool T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Apr 28, 2025
@rustbot

Copy link
Copy Markdown
Collaborator

The list of allowed third-party dependencies may have been modified! You must ensure that any new dependencies have compatible licenses before merging.

cc @davidtwco, @wesleywiser

@rust-log-analyzer

This comment has been minimized.

@lnicola

Copy link
Copy Markdown
MemberAuthor

Quick r? on the license thing, please @davidtwco, @wesleywiser?

@rustbot

Copy link
Copy Markdown
Collaborator

Failed to set assignee to on: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

@lnicola

Copy link
Copy Markdown
MemberAuthor

r? @Veykril

@rustbot

Copy link
Copy Markdown
Collaborator

Failed to set assignee to Veykril: invalid assignee

Note: Only org members with at least the repository "read" role, users with write permissions, or people who have commented on the PR may be assigned.

@Veykril

Copy link
Copy Markdown
Member

Given foldhash with that license is allowed in cargo already this should be fine
@bors r+ p=1

@bors

bors commented Apr 30, 2025

Copy link
Copy Markdown
Collaborator

📌 Commit ce6a066 has been approved by Veykril

It is now in the queue for this repository.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 30, 2025
@ZalatharZalathar mentioned this pull request Apr 30, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Apr 30, 2025
Subtree update of `rust-analyzer`
r? `@ghost`
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2025
Rollup of 14 pull requests
Successful merges:
- rust-lang#140380 (transmutability: uninit transition matches unit byte only)
- rust-lang#140385 (Subtree update of `rust-analyzer`)
- rust-lang#140395 (organize and extend forbidden target feature tests)
- rust-lang#140430 (Improve test coverage of HIR pretty printing.)
- rust-lang#140458 (Fix for async drop ice with partly dropped tuple)
- rust-lang#140460 (Fix handling of LoongArch target features not supported by LLVM 19)
- rust-lang#140465 (chore: edit and move tests)
- rust-lang#140467 (Don't FCW assoc consts in patterns)
- rust-lang#140468 (Minor tweaks to make some normalization (adjacent) code less confusing)
- rust-lang#140470 (CI: rfl: move job forward to Linux v6.15-rc4)
- rust-lang#140476 (chore: delete unused ui/auxiliary crates)
- rust-lang#140481 (Require sanitizers be enabled for asan_odr_windows.rs)
- rust-lang#140486 (rustfmt: Also allow bool literals as first item of let chain)
- rust-lang#140494 (Parser: Document restrictions)
r? `@ghost`
`@rustbot` modify labels: rollup
@ZalatharZalathar mentioned this pull request Apr 30, 2025
Zalathar added a commit to Zalathar/rust that referenced this pull request Apr 30, 2025
Subtree update of `rust-analyzer`
r? ``@ghost``
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2025
Rollup of 13 pull requests
Successful merges:
- rust-lang#140380 (transmutability: uninit transition matches unit byte only)
- rust-lang#140385 (Subtree update of `rust-analyzer`)
- rust-lang#140395 (organize and extend forbidden target feature tests)
- rust-lang#140458 (Fix for async drop ice with partly dropped tuple)
- rust-lang#140460 (Fix handling of LoongArch target features not supported by LLVM 19)
- rust-lang#140465 (chore: edit and move tests)
- rust-lang#140467 (Don't FCW assoc consts in patterns)
- rust-lang#140468 (Minor tweaks to make some normalization (adjacent) code less confusing)
- rust-lang#140470 (CI: rfl: move job forward to Linux v6.15-rc4)
- rust-lang#140476 (chore: delete unused ui/auxiliary crates)
- rust-lang#140481 (Require sanitizers be enabled for asan_odr_windows.rs)
- rust-lang#140486 (rustfmt: Also allow bool literals as first item of let chain)
- rust-lang#140494 (Parser: Document restrictions)
r? `@ghost`
`@rustbot` modify labels: rollup
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 30, 2025
Subtree update of `rust-analyzer`
r? ```@ghost```
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2025
…iaskrgr
Rollup of 11 pull requests
Successful merges:
- rust-lang#140380 (transmutability: uninit transition matches unit byte only)
- rust-lang#140385 (Subtree update of `rust-analyzer`)
- rust-lang#140458 (Fix for async drop ice with partly dropped tuple)
- rust-lang#140465 (chore: edit and move tests)
- rust-lang#140467 (Don't FCW assoc consts in patterns)
- rust-lang#140468 (Minor tweaks to make some normalization (adjacent) code less confusing)
- rust-lang#140470 (CI: rfl: move job forward to Linux v6.15-rc4)
- rust-lang#140476 (chore: delete unused ui/auxiliary crates)
- rust-lang#140481 (Require sanitizers be enabled for asan_odr_windows.rs)
- rust-lang#140486 (rustfmt: Also allow bool literals as first item of let chain)
- rust-lang#140494 (Parser: Document restrictions)
r? `@ghost`
`@rustbot` modify labels: rollup
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2025
…iaskrgr
Rollup of 10 pull requests
Successful merges:
- rust-lang#140385 (Subtree update of `rust-analyzer`)
- rust-lang#140458 (Fix for async drop ice with partly dropped tuple)
- rust-lang#140465 (chore: edit and move tests)
- rust-lang#140467 (Don't FCW assoc consts in patterns)
- rust-lang#140468 (Minor tweaks to make some normalization (adjacent) code less confusing)
- rust-lang#140470 (CI: rfl: move job forward to Linux v6.15-rc4)
- rust-lang#140476 (chore: delete unused ui/auxiliary crates)
- rust-lang#140481 (Require sanitizers be enabled for asan_odr_windows.rs)
- rust-lang#140486 (rustfmt: Also allow bool literals as first item of let chain)
- rust-lang#140494 (Parser: Document restrictions)
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit f8f4d2d into rust-lang:masterApr 30, 2025
@rustbotrustbot added this to the 1.88.0 milestone Apr 30, 2025
@bors

bors commented Apr 30, 2025

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ce6a066 with merge b45dd71...

rust-timer added a commit to rust-lang-ci/rust that referenced this pull request Apr 30, 2025
Rollup merge of rust-lang#140385 - lnicola:sync-from-ra, r=Veykril
Subtree update of `rust-analyzer`
r? ````@ghost````
@lnicola
lnicola deleted the sync-from-ra branch May 1, 2025 03:44
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-tidyArea: The tidy toolS-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

20 participants

@lnicola@rustbot@rust-log-analyzer@Veykril@bors@inflation@rossdylan@ChayimFriedman2@snprajwal@BenjaminBrienen@jrmuizel@davidbarsky@SOF3@geetanshjuneja@jackh726@Urgau@Hmikihiro@flodiebold@hkalbasi@chenyukang