-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: Trait in an Rc #24984
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
Comments
ICE under version beta too: http://is.gd/dj1fO5 |
This feature in general hasn't been implemented yet, see #24619 , iirc That said, it shouldn't ICE, so this is still a valid bug, for sure. |
@steveklabnik Ok, thanks for info. How do I work around this for now? Use a box? |
Yeah, you have to box until that lands. :/ |
Since the DST coercions have been merged, this is now fixed in nightly. Not in stable, though, so I'm not sure if this can / cannot be closed now. |
The original example code compiles now. This can be closed. |
Great :) |
Code:
Backtrace:
Platform:
Note that using
Arc
instead ofRc
generates an ICE too.Hope this is not a dupe - it's kind of hard to tell which ICE is equivalent...
The text was updated successfully, but these errors were encountered: