Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upmake Copy: Clone #23790
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
triage: P-backcompat-lang (1.0 beta) |
rust-highfive
added
the
P-backcompat-lang
label
Mar 27, 2015
rust-highfive
added this to the 1.0 beta milestone
Mar 27, 2015
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
@Gankro I'm in the tedious process of adding clone impls to run-pass tests right now... woohoo... |
This comment has been minimized.
This comment has been minimized.
|
I'm sure this is what has been causing all the spurious buildbot failures. |
This comment has been minimized.
This comment has been minimized.
Does this mean that we have many |
This comment has been minimized.
This comment has been minimized.
|
I'm very happy with this pragmatic way of resolving the |
This comment has been minimized.
This comment has been minimized.
|
Does this mean the types with |
This comment has been minimized.
This comment has been minimized.
|
@barosl I don't think so, I think it just means that for a type to impl |
This comment has been minimized.
This comment has been minimized.
|
Yeah I guess |
This comment has been minimized.
This comment has been minimized.
|
Sounds like a simple solution, I like it! |
This comment has been minimized.
This comment has been minimized.
yes, yes, it does. Not so much in the libraries, I don't think, though there as well. |
This comment has been minimized.
This comment has been minimized.
Um, what? (I have no idea what you mean...) |
This comment has been minimized.
This comment has been minimized.
|
@alexcrichton see #23860 |
This comment has been minimized.
This comment has been minimized.
|
Does it make sense to consider how |
This comment has been minimized.
This comment has been minimized.
I think now |
This comment has been minimized.
This comment has been minimized.
I've been vaguely uneasy about the relationship between Do you have any thoughts on the direction here? I could imagine removing the blanket impl of |
This comment has been minimized.
This comment has been minimized.
|
Niko: just goofin' around! :) |
nikomatsakis commentedMar 27, 2015
It really makes sense for Clone to be a supertrait of Copy -- Copy is a refinement of Clone where memcpy suffices, basically. I've got a branch handling most of this, though it requires adding a lot of
#[derive(Copy, Clone)]sort of things.