Skip to content

set aliases in closure error bodies to rigid with next-solver - #164075

Merged
rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
sjwang05:alias-rigid-mir
Oct 11, 2026
Merged

rust-bors[bot] merged 1 commit into
rust-lang:mainfrom
sjwang05:alias-rigid-mir

Conversation

@sjwang05

Copy link
Copy Markdown
Contributor

We already do this in the DefKind::Closure arm of construct_fn, and not doing so would cause us to ICE, such as in the test.

r? project-trait-system-refactor

@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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Oct 10, 2026

@adwinwhite adwinwhite left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

nits and then r=me :>

@bors delegate
@bors rollup

View changes since this review

@rust-bors

rust-bors Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

✌️ @sjwang05, you can now approve this pull request!

If @adwinwhite told you to "r=me" after making some further change, then please make that change and post @bors r=adwinwhite.

View changes since this delegation.

@sjwang05

Copy link
Copy Markdown
Contributor Author

@bors r=adwinwhite

@rust-bors

rust-bors Bot commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

📌 Commit f9232ed has been tentatively approved by adwinwhite

It will be put into the queue for this repository once PR CI succeeds.

@rust-bors rust-bors Bot 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 10, 2026
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Oct 10, 2026
…hite

set aliases in closure error bodies to rigid with next-solver

We already do this in the `DefKind::Closure` arm of `construct_fn`, and not doing so would cause us to ICE, such as in the test.

r? project-trait-system-refactor
rust-bors Bot pushed a commit that referenced this pull request Oct 10, 2026
…uwer

Rollup of 3 pull requests

Successful merges:

 - #163999 ([tiny] Show trait span for associated item with similar name)
 - #162926 (fix misleading diagnostics and improve diagnostics of return type mismatch)
 - #164075 (set aliases in closure error bodies to rigid with next-solver)
rust-bors Bot pushed a commit that referenced this pull request Oct 11, 2026
Rollup of 8 pull requests

Successful merges:

 - #163402 (test-float-parse: Share one table of powers of two sized for f64)
 - #163999 ([tiny] Show trait span for associated item with similar name)
 - #164020 (deduced_param_attrs for unit type offers no benefit)
 - #162926 (fix misleading diagnostics and improve diagnostics of return type mismatch)
 - #164075 (set aliases in closure error bodies to rigid with next-solver)
 - #164100 (More `tests/rustdoc-html` cleanups)
 - #164110 (callconv: mips64: Clarify why padding floats with integer args is correct)
 - #164120 (tests: Update duplicated-path-in-error message on musl hosts)
@rust-bors
rust-bors Bot merged commit a430d4e into rust-lang:main Oct 11, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Oct 11, 2026
rust-bors Bot pushed a commit that referenced this pull request Oct 11, 2026
Rollup merge of #164075 - sjwang05:alias-rigid-mir, r=adwinwhite

set aliases in closure error bodies to rigid with next-solver

We already do this in the `DefKind::Closure` arm of `construct_fn`, and not doing so would cause us to ICE, such as in the test.

r? project-trait-system-refactor
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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants