Skip to content

Conversation

@tmiasko
Copy link
Contributor

@tmiasko tmiasko commented Oct 26, 2025

When a MIR argument is spread at ABI level, deduced attributes are potentially misapplied, since a spread argument can correspond to zero or more arguments at ABI level.

Disable deduction for MIR using spread argument for the time being.

@rustbot
Copy link
Collaborator

rustbot commented Oct 26, 2025

Some changes occurred to MIR optimizations

cc @rust-lang/wg-mir-opt

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Oct 26, 2025
@rustbot
Copy link
Collaborator

rustbot commented Oct 26, 2025

r? @matthewjasper

rustbot has assigned @matthewjasper.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rust-log-analyzer

This comment has been minimized.

@bors
Copy link
Collaborator

bors commented Oct 27, 2025

☔ The latest upstream changes (presumably #147890) made this pull request unmergeable. Please resolve the merge conflicts.

@wesleywiser
Copy link
Member

r=me with rebase

@rustbot
Copy link
Collaborator

rustbot commented Oct 28, 2025

This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

When a MIR argument is spread at ABI level, deduced attributes are
potentially misapplied, since a spread argument can correspond to zero
or more arguments at ABI level.

Disable deduction for MIR using spread argument for the time being.
@tmiasko
Copy link
Contributor Author

tmiasko commented Oct 29, 2025

@bors r=wesleywiser

@bors
Copy link
Collaborator

bors commented Oct 29, 2025

📌 Commit e9252a4 has been approved by wesleywiser

It is now in the queue for this repository.

@bors bors 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 Oct 29, 2025
bors added a commit that referenced this pull request Oct 29, 2025
Rollup of 5 pull requests

Successful merges:

 - #144444 (Contract variable declarations)
 - #147281 (Make diagnostics clearer for binop-related errors in foreign crates)
 - #148131 (Skip parameter attribute deduction for MIR with `spread_arg`)
 - #148224 (bootstrap: `ensure(doc::Std)` no longer opens a browser)
 - #148226 (Bootstrap update)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9489751 into rust-lang:master Oct 29, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Oct 29, 2025
rust-timer added a commit that referenced this pull request Oct 29, 2025
Rollup merge of #148131 - tmiasko:deduce-spread-arg, r=wesleywiser

Skip parameter attribute deduction for MIR with `spread_arg`

When a MIR argument is spread at ABI level, deduced attributes are potentially misapplied, since a spread argument can correspond to zero or more arguments at ABI level.

Disable deduction for MIR using spread argument for the time being.
@tmiasko tmiasko deleted the deduce-spread-arg branch October 29, 2025 12:27
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Oct 30, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#144444 (Contract variable declarations)
 - rust-lang/rust#147281 (Make diagnostics clearer for binop-related errors in foreign crates)
 - rust-lang/rust#148131 (Skip parameter attribute deduction for MIR with `spread_arg`)
 - rust-lang/rust#148224 (bootstrap: `ensure(doc::Std)` no longer opens a browser)
 - rust-lang/rust#148226 (Bootstrap update)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants