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

Associated types need to do transitive bound expansion #18434

Closed
nikomatsakis opened this issue Oct 29, 2014 · 1 comment
Closed

Associated types need to do transitive bound expansion #18434

nikomatsakis opened this issue Oct 29, 2014 · 1 comment

Comments

@nikomatsakis
Copy link
Contributor

Today when you create a function that has types bounded by a trait with associated types, you get implicit parameters corresponding to those associated types. But those type parameters themselves may have bounds (#18178) which may in turn have associated types, so we really ought to expand to the transitive closure. (Or, better yet, find another impl technique, since the transitive closure does not necessarily have finite size if you have a trait that uses itself as a bound, but we can accept this limitation for now).

@nikomatsakis
Copy link
Contributor Author

No longer relevant in the new associated types implementation.

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

No branches or pull requests

1 participant