Skip to content

unnecessarily explicit copy lint #3116

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

Closed
nikomatsakis opened this issue Aug 6, 2012 · 1 comment
Closed

unnecessarily explicit copy lint #3116

nikomatsakis opened this issue Aug 6, 2012 · 1 comment
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@nikomatsakis
Copy link
Contributor

We should add a lint mode that detects unnecessary uses of the word copy and warns about them. In my code, at least, I'd prefer to have copy written only where it needs to be---so that I can use it as a guide to where expensive copies are occurring.

@pcwalton
Copy link
Contributor

Closing since we want to remove the word copy.

bors pushed a commit to rust-lang-ci/rust that referenced this issue May 15, 2021
Add howto for CLion / IntelliJ IDE integration
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

2 participants