-
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
Implement BorrowFrom<&'a T> for T (with mutable variants) #19146
Conversation
If we truly wanted to go all the way, this may want to take |
That would run afoul of coherence, because of the blanket impl of @gereeter I feel like I tried something like this originally and ran into other coherence problems; does this pass a |
I think that would break coherence, as you can |
@gereeter Jinx! |
Well, |
What does fail due to coherence is |
Ahha, that may have been what I tried. In any case, assuming this passes |
|
This should be a more general version of rust-lang#19131.
This should be a more general version of #19131.
This should be a more general version of #19131.