Skip to content

Projection types permit coherence violations #20624

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

Closed
nikomatsakis opened this issue Jan 6, 2015 · 0 comments · Fixed by #20757
Closed

Projection types permit coherence violations #20624

nikomatsakis opened this issue Jan 6, 2015 · 0 comments · Fixed by #20757
Labels
A-associated-items Area: Associated items (types, constants & functions)
Milestone

Comments

@nikomatsakis
Copy link
Contributor

See this example from @aturon, which should not compile. This is because I assumed that we could not support projection types in impls right now, but after thinking on it some more I'm not so sure, it might work -- in that case we probably just need to normalize associated types during coherence.

cc @nick29581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-associated-items Area: Associated items (types, constants & functions)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant