Skip to content

Rollup of 6 pull requests#153405

Closed
JonathanBrouwer wants to merge 72 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-GhInVPH
Closed

Rollup of 6 pull requests#153405
JonathanBrouwer wants to merge 72 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-GhInVPH

Conversation

@JonathanBrouwer
Copy link
Contributor

Successful merges:

r? @ghost

Create a similar rollup

The Miri Cronjob Bot and others added 30 commits February 17, 2026 05:19
This updates the rust-version file to 3c9faa0.
This updates the rust-version file to 8387095.
This updates the rust-version file to e0cb264.
…_files

Print a warning when trying to open a file in `/proc`
Miscellaneous tracing fixes and improvements
Remove duplicate "the" in documentation.
This updates the rust-version file to 5fb2ff8.
Fix typo in tracing.md for `tracing_separate_thread`
This updates the rust-version file to c78a294.
This updates the rust-version file to b3869b9.
Pull recent changes from https://github.com/rust-lang/rust via Josh.

Upstream ref: b3869b9
Filtered ref: 8ca8d84b29d11100879eadb68eb5774f85bb6977
Upstream diff: rust-lang/rust@c78a294...b3869b9

This merge was created using https://github.com/rust-lang/josh-sync.
mu001999 and others added 23 commits March 2, 2026 09:38
This also causes bitcode to be saved for the allocator shim with
-Csave-temps.
Currently, `Representability::from_cycle_error` prints an "infinite
size" error and then returns `Representability::Infinite`, which lets
analysis continue. This commit changes it so it just aborts after
printing the error. This has two benefits.

First, the error messages are better. The error messages we get after
continuing are mostly bad -- we usually get another cycle error, e.g.
about drop checking or layout, which is not much use to the user, and
then abort after that. The only exception is `issue-105231.rs` where a
"conflicting implementations" error is now omitted, but there are three
other errors before that one so it's no great loss.

Second, it allows some simplifications: see the next commit.
This variant was a fallback value used to continue analysis after a
`Representability` error, but it's no longer needed thanks to the
previous commit. This means `Representability` can now be reduced to a
unit type that exists just so `FromCycleError` can exist for the
`representability` query. (There is potential for additional cleanups
here, but those are beyond the scope of this PR.)

This means the `representability`/`representability_adt_ty` queries no
longer have a meaningful return value, i.e. they are check-only queries.
So they now have a `check_` prefix added. And the `rtry!` macro is no
longer needed.
This updates the rust-version file to d933cf4.
This removes the `cycle_fatal` query modifier as it has no effect on its current users.

The default `CycleErrorHandling::Error` mode does the same as `cycle_fatal` when the default impl of `FromCycleError` is used. The return types of queries using `cycle_fatal` however have no specialized `FromCycleError` impl.
…res, r=JonathanBrouwer

Lint unused features

*[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/152164)*

Fixes rust-lang#44232
Fixes rust-lang#151752

---

This PR records used features through query side effect, then reports unsued features finally.
…rrors, r=oli-obk

Abort after `representability` errors

Doing so results in better error messages and makes the code a bit simpler. Details in individual commits.

r? @oli-obk
…tack-true, r=WaffleLapkin

enable `PassMode::Indirect { on_stack: true, .. }` tail call arguments

tracking issue: rust-lang#112788
fixes rust-lang#144855

And add a bunch of tests for tail call target support.

r? WaffleLapkin
Remove `cycle_fatal` query modifier

This removes the `cycle_fatal` query modifier as it has no effect on its current users.

The default `CycleErrorHandling::Error` mode does the same as `cycle_fatal` when the default impl of `FromCycleError` is used. The return types of queries using `cycle_fatal` however have no specialized `FromCycleError` impl.
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Mar 4, 2026
@JonathanBrouwer
Copy link
Contributor Author

@bors r+ rollup=never p=5

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 4, 2026

📌 Commit 7301587 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-bors rust-bors bot added the S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. label Mar 4, 2026
@GuillaumeGomez
Copy link
Member

Closing in favour of #153412.

@bors r-

@rust-bors
Copy link
Contributor

rust-bors bot commented Mar 4, 2026

📋 Only unclosed PRs can be unapproved.

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

Labels

rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.