-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
make Copy: Clone #23790
Comments
triage: P-backcompat-lang (1.0 beta) |
💖 ✨ ✨ ✨ |
@gankro I'm in the tedious process of adding clone impls to run-pass tests right now... woohoo... |
I'm sure this is what has been causing all the spurious buildbot failures. |
Does this mean that we have many |
I'm very happy with this pragmatic way of resolving the |
Does this mean the types with |
@barosl I don't think so, I think it just means that for a type to impl |
Yeah I guess |
Sounds like a simple solution, I like it! |
yes, yes, it does. Not so much in the libraries, I don't think, though there as well. |
Um, what? (I have no idea what you mean...) |
@alexcrichton see #23860 |
Does it make sense to consider how |
I think now |
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 |
Niko: just goofin' around! :) |
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.The text was updated successfully, but these errors were encountered: