-
Notifications
You must be signed in to change notification settings - Fork 13k
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
remove Clone trait implementation and use #[derive(Clone)] #34130
Conversation
r? @brson (rust_highfive has picked a reviewer for you, use r? to override) |
@bors r+ rollup. Thanks! |
📌 Commit 6a4c97b has been approved by |
Hang on, are you sure this is right? I thought the reason these were derived by hand is that derive(Clone) doesn't use the right bounds; as far as I know that hasn't been fixed. |
@eefriedman is correct -- this adds |
@bors r- |
I want to implement this correct. Pointers please. |
@eddyb had thoughts about fixing this situation by elaborating trait bounds before the privacy checks. The problem is that |
Yeah this is implemented correctly as-is to avoid the extra |
Well, a more correct way would be making the derived impls better. But that On Tue, Jun 7, 2016 at 1:54 AM, Alex Crichton notifications@github.com
|
No description provided.