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

cargo clippy warns on unused lifetime #9

Open
lumag opened this issue Feb 25, 2023 · 0 comments
Open

cargo clippy warns on unused lifetime #9

lumag opened this issue Feb 25, 2023 · 0 comments

Comments

@lumag
Copy link

lumag commented Feb 25, 2023

I'm getting the following warning when used with cargo clippy:

warning: this lifetime isn't used in the impl
--> src/options.rs:6:39
|
6 | #[derive(Clone, PartialEq, Eq, Debug, EnumKind)]
| ^^^^^^^^
|
= note: #[warn(clippy::extra_unused_lifetimes)] on by default
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#extra_unused_lifetimes
= note: this warning originates in the derive macro EnumKind (in Nightly builds, run with -Z macro-backtrace for more info)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant