Skip to content

make unused_lifetimes lint warn by default #112425

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
laralove143 opened this issue Jun 8, 2023 · 3 comments
Closed

make unused_lifetimes lint warn by default #112425

laralove143 opened this issue Jun 8, 2023 · 3 comments
Labels
A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.

Comments

@laralove143
Copy link

the docs at https://doc.rust-lang.org/rustc/lints/listing/allowed-by-default.html#unused-lifetimes dont mention why its allowed by default, feels like it shouldnt be as it also says it signals a mistake or unfinished code

@Jules-Bertholet
Copy link
Contributor

@rustbot label A-lint

@rustbot rustbot added the A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. label Jun 8, 2023
@matthiaskrgr
Copy link
Member

See #94038

@Dylan-DPC
Copy link
Member

Closing this in favour of the tracking issue

@Dylan-DPC Dylan-DPC closed this as not planned Won't fix, can't repro, duplicate, stale Jan 26, 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.
Projects
None yet
Development

No branches or pull requests

5 participants