pub static UNUSED_LIFETIMES: &Lint
The unused_lifetimes lint detects lifetime parameters that are never used.
unused_lifetimes
#[deny(unused_lifetimes)] pub fn foo<'a>() {}
{{produces}}
Unused lifetime parameters may signal a mistake or unfinished code. Consider removing the parameter.