Skip to content

Binder instantitation returns Unnormalized#156221

Draft
adwinwhite wants to merge 7 commits intorust-lang:mainfrom
adwinwhite:binder-instantitation
Draft

Binder instantitation returns Unnormalized#156221
adwinwhite wants to merge 7 commits intorust-lang:mainfrom
adwinwhite:binder-instantitation

Conversation

@adwinwhite
Copy link
Copy Markdown
Contributor

@adwinwhite adwinwhite commented May 6, 2026

Followup of #155083.

There are some instantiation routines left out:
- instantiate_bound_regions_with_erased
- liberate_late_bound_regions

They have tons of use sites and I feel like there could be a nice API for them to interact with FnSig.
Besides, unlike instantiating with infer or placeholder, they aren't particularly relevant for eager normalization inside the next solver.

This PR contains no behavior change.

r? lcnr

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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 May 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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