-
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
Arc is invariant in its type parameter #29037
Comments
@gankro's Raw Pointer Cleanup seems to already touch upon this. |
I'm working on implementing
These may or may not be spurious. |
That method has been giving me trouble, so probably spurious. |
@arielb1 Should I file that as a separate RFC 1214 bug? |
For what it's worth, |
I would expect it to be covariant. This seems to be an unintentional side-effect of using
*mut
internally.Code
Playground
The text was updated successfully, but these errors were encountered: