Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GAT where bounds of impl candidates #44

Open
lcnr opened this issue Jul 7, 2023 · 0 comments
Open

GAT where bounds of impl candidates #44

lcnr opened this issue Jul 7, 2023 · 0 comments

Comments

@lcnr
Copy link
Contributor

lcnr commented Jul 7, 2023

we register them since rust-lang/rust#113336, but they may already be proven by wf-bounds so it is potentially unnecessary?

wf-bounds skip escaping bound vars, so we probably should.

affects both inherent assoc types and ordinary assoc types. The new solver now checks them in probe_and_match_goal_against_assumption and for impl candidates. TODO: which candidates don't check GAT where-clauses rn

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

No branches or pull requests

1 participant