Skip to content
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

Add a lint for types that implement Copy but not Clone #22543

Closed
mahkoh opened this issue Feb 19, 2015 · 2 comments
Closed

Add a lint for types that implement Copy but not Clone #22543

mahkoh opened this issue Feb 19, 2015 · 2 comments
Labels
A-lint Area: Lints (warnings about flaws in source code) such as unused_mut.

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Feb 19, 2015

Unless there already is such a lint. In that case enable it by default.

@steveklabnik steveklabnik added the A-lint Area: Lints (warnings about flaws in source code) such as unused_mut. label Feb 19, 2015
@nikomatsakis
Copy link
Contributor

Not needed now that Clone is a supertrait of Copy.

@nikomatsakis
Copy link
Contributor

cc #23790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lint Area: Lints (warnings about flaws in source code) such as unused_mut.
Projects
None yet
Development

No branches or pull requests

3 participants