Skip to content

Conversation

@lcnr
Copy link
Contributor

@lcnr lcnr commented Nov 12, 2025

The structure of fn assemble_and_merge_candidates is quite messy and the differences between Host and NormalizesTo goals is large enough that we should split them entirely. Intend to change this for rust-lang/trait-system-refactor-initiative#245 by mentoring someone: https://rust-lang.zulipchat.com/#narrow/channel/364551-t-types.2Ftrait-system-refactor/topic/ask.20for.20help/near/554696331. Think it's still fine to merge this PR without that larger change.

fixes rust-lang/trait-system-refactor-initiative#256

r? @BoxyUwU

@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 Nov 12, 2025
@rustbot
Copy link
Collaborator

rustbot commented Nov 12, 2025

BoxyUwU is currently at their maximum review capacity.
They may take a while to respond.

@lcnr lcnr force-pushed the gat-inference-hack branch from a8764d3 to 28c0fd3 Compare November 12, 2025 13:59
@lcnr lcnr force-pushed the gat-inference-hack branch from 28c0fd3 to 15b02a9 Compare November 12, 2025 13:59
@BoxyUwU
Copy link
Member

BoxyUwU commented Nov 17, 2025

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Nov 17, 2025

📌 Commit 15b02a9 has been approved by BoxyUwU

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

Successful merges:

 - #145610 (Stabilize `char_max_len`)
 - #148504 (Fix link in c_longlong documentation)
 - #148698 (Fix query cycle when encounter unevaluated const)
 - #148865 (move GAT inference prevention hack)
 - #149016 (Document the `let this = self;` idiom used in MIR building)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 0e0dac2 into rust-lang:main Nov 17, 2025
11 checks passed
@rustbot rustbot added this to the 1.93.0 milestone Nov 17, 2025
rust-timer added a commit that referenced this pull request Nov 17, 2025
Rollup merge of #148865 - lcnr:gat-inference-hack, r=BoxyUwU

move GAT inference prevention hack

The structure of `fn assemble_and_merge_candidates` is quite messy and the differences between `Host` and `NormalizesTo` goals is large enough that we should split them entirely. Intend to change this for rust-lang/trait-system-refactor-initiative#245 by mentoring someone: https://rust-lang.zulipchat.com/#narrow/channel/364551-t-types.2Ftrait-system-refactor/topic/ask.20for.20help/near/554696331. Think it's still fine to merge this PR without that larger change.

fixes rust-lang/trait-system-refactor-initiative#256

r? `@BoxyUwU`
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Nov 20, 2025
Rollup of 5 pull requests

Successful merges:

 - rust-lang/rust#145610 (Stabilize `char_max_len`)
 - rust-lang/rust#148504 (Fix link in c_longlong documentation)
 - rust-lang/rust#148698 (Fix query cycle when encounter unevaluated const)
 - rust-lang/rust#148865 (move GAT inference prevention hack)
 - rust-lang/rust#149016 (Document the `let this = self;` idiom used in MIR building)

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. 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.

GAT incomplete inference hack is too eager

4 participants