-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 when abusing CoerceUnsized through specialization #44861
Comments
The given code builds fine on current nightly. |
This is still an ICE on current nightly when not |
This code compiles without a problem whether I do |
@Seeker14491 Really? But on the playground, the ICE still appears. Can you check the above link? |
Yes, I get an ICE in the playground when I just build. |
|
@mati865 You need |
Triage: the latest nightly rejects the code without an ICE. Marking as E-needs-test. |
Add some regression tests Closes rust-lang#44861 Closes rust-lang#51506 Closes rust-lang#59435 Closes rust-lang#69840
Add some regression tests Closes rust-lang#44861 Closes rust-lang#51506 Closes rust-lang#59435 Closes rust-lang#69840
I was attempting to figure out the feature landscape for #27941, and I found this ICE when playing with it and specialization:
Code
ICE:
The text was updated successfully, but these errors were encountered: