-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
ICE: Encountered error Unimplemented
... (trait objects & associated type bounds)
#26406
Closed
Tracked by
#27579
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
This is caused by missing wf-checking for associated types. cc #25388 |
Fixed by #27641. |
In fact, an ICE still occurs. Reopening. |
17 tasks
Closed
Triage: Still an issue. |
No longer ICEs:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've got an ICE when trying to use associated type bounds with a trait object.
Here's the full code:
I did expect some error to occur when trying to pass a trait object to
play
because of the reference toSelf
in the boundA:Foo<Self>
in traitBar
(perhapsBar
shouldn't be object-safe?).I got the following ICE:
The text was updated successfully, but these errors were encountered: