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

Add tests for unification of all types #532

Open
jackh726 opened this issue Jun 17, 2020 · 2 comments
Open

Add tests for unification of all types #532

jackh726 opened this issue Jun 17, 2020 · 2 comments

Comments

@jackh726
Copy link
Member

jackh726 commented Jun 17, 2020

Originally mentioned in #531

It might be worth testing that specific types can unify with each other. In that PR, we specifically talked about trait objects with different ordering of auto traits. I imagine there are other types that we can specifically test for unification.

Some things off the top of my head that I can think about:

  • Anything (including trait objects) with different ordering of where clauses
  • Lifetimes in dyn
  • Lifetimes in Raw and Ref types
  • Lifetimes in closures, functions, etc.

c.c. @Areredify @zaharidichev

@zaharidichev
Copy link
Contributor

@rustbot claim

@jackh726
Copy link
Member Author

@rustbot release-assignment

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

2 participants