Implement BorrowFrom<&'a T> for T (with mutable variants)#19146
Implement BorrowFrom<&'a T> for T (with mutable variants)#19146bors merged 1 commit intorust-lang:masterfrom
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.