Enable clippy::extra_unused_lifetimes (#8754)

This PR enables the
[`clippy::extra_unused_lifetimes`](https://rust-lang.github.io/rust-clippy/master/index.html#/extra_unused_lifetimes)
rule and fixes the outstanding violations.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-03-02 22:43:00 -05:00 committed by GitHub
parent 659974411d
commit 2f876471a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 3 additions and 4 deletions

View file

@ -92,7 +92,6 @@ fn run_clippy(args: ClippyArgs) -> Result<()> {
"clippy::eq_op",
"clippy::expect_fun_call",
"clippy::explicit_counter_loop",
"clippy::extra_unused_lifetimes",
"clippy::identity_op",
"clippy::implied_bounds_in_impls",
"clippy::iter_kv_map",