-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
internal compiler error when inferring _
type for Associated Type bound
#79590
Comments
@rustbot prioritize |
Reproduces on |
The ICE triggers since 1.45 |
@rustbot label +regression-from-stable-to-stable |
Assigning |
I found the code where we add the duplicate If I remove the code block that adds the duplicate predicate I get 8 UI test failures. I'll try to figure out why that code exists by looking at failing tests now. |
@rustbot claim |
Visiting for P-high review @lcnr is there a roadmap for resolving this? Should we open it up for other people to claim? (The error does seem like it remains P-high worthy, since I can imagine this to be pretty frustrating to someone since it doesn't print any diagnostic info guiding them towards even the obvious workaround of plugging in |
_
type for Associated Type bound
The issue here is that the associated type bound is redundant, we're specifying I don't think it necessarily needs a roadmap, I expect it to be a fairly self-contained - if complex - fix. |
I've taken a look at this in the past but I can again 👀 |
Rust compiler error for simple code like this:
Code
playaround
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: