// Check that `unused_lifetimes` lint doesn't duplicate a "parameter is never used" error. // Fixed in . // Issue: . #![warn(unused_lifetimes)] struct Foo<'a>; //~^ ERROR parameter `'a` is never used fn main() {}