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

inference is not generalizing in a complete way #164

Open
nikomatsakis opened this issue May 13, 2024 · 7 comments
Open

inference is not generalizing in a complete way #164

nikomatsakis opened this issue May 13, 2024 · 7 comments
Assignees

Comments

@nikomatsakis
Copy link
Contributor

Reading the code with @lcnr and @compiler-errors we found that...

General sketch of the algorithm we want

  • walk down the non-variable type T and look for aliases
  • if the alias references a variable bound in T, then return "ambiguous, can't make progress"
  • otherwise, replace it with an inference variable (and a new resulting goal)
@nikomatsakis
Copy link
Contributor Author

@rustbot assign @lcnr

@rustbot
Copy link
Collaborator

rustbot commented May 13, 2024

Error: This repository is not enabled to use triagebot.
Add a triagebot.toml in the root of the default branch to enable it.

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

@compiler-errors
Copy link
Member

@rustbot assign @lcnr

@rustbot
Copy link
Collaborator

rustbot commented May 13, 2024

Error: This repository is not enabled to use triagebot.
Add a triagebot.toml in the root of the default branch to enable it.

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

@compiler-errors
Copy link
Member

@rustbot assign @lcnr

@rustbot
Copy link
Collaborator

rustbot commented May 13, 2024

Error: This repository is not enabled to use triagebot.
Add a triagebot.toml in the root of the default branch to enable it.

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

@nikomatsakis
Copy link
Contributor Author

nikomatsakis commented May 13, 2024

🎉 😢

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

4 participants