error: lifetime parameter `'f` only used once --> $DIR/one-use-in-inherent-impl-header.rs:24:6 | LL | impl<'f> Foo<'f> { //~ ERROR `'f` only used once | ^^ -- ...is used only here | | | this lifetime... | note: lint level defined here --> $DIR/one-use-in-inherent-impl-header.rs:11:9 | LL | #![deny(single_use_lifetimes)] | ^^^^^^^^^^^^^^^^^^^^ error: aborting due to previous error