Skip to content

Warn on unused pattern bindings #1898

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
brson opened this issue Feb 24, 2012 · 2 comments
Closed

Warn on unused pattern bindings #1898

brson opened this issue Feb 24, 2012 · 2 comments
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.

Comments

@brson
Copy link
Contributor

brson commented Feb 24, 2012

Like we warn on unused arguments, we should also warn about unused pattern bindings.

@lht
Copy link
Contributor

lht commented Feb 25, 2012

A dup of #941?

@brson
Copy link
Contributor Author

brson commented Feb 25, 2012

Yep

@brson brson closed this as completed Feb 25, 2012
celinval added a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
Kobzol pushed a commit to Kobzol/rust that referenced this issue Dec 30, 2024
* Update overview.md

Various link addition and minor edits for clarity.

* generic improvements

* fix line lengths for ci/cd

---------

Co-authored-by: Tbkhi <[email protected]>
Co-authored-by: Oliver Dechant <[email protected]>
bors pushed a commit to rust-lang-ci/rust that referenced this issue Jan 2, 2025
* Update overview.md

Various link addition and minor edits for clarity.

* generic improvements

* fix line lengths for ci/cd

---------

Co-authored-by: Tbkhi <[email protected]>
Co-authored-by: Oliver Dechant <[email protected]>
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.
Projects
None yet
Development

No branches or pull requests

2 participants