-
Notifications
You must be signed in to change notification settings - Fork 13.4k
ICE: Encountered error Unimplemented
... (trait objects & associated type bounds)
#26406
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
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:
|
# for free
to join this conversation on GitHub.
Already have an account?
# 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: