1 error: this lifetime isn't used in the function definition
2 --> $DIR/unused_lt.rs:14:14
4 LL | fn unused_lt<'a>(x: u8) {}
7 = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings`
9 error: this lifetime isn't used in the function definition
10 --> $DIR/unused_lt.rs:16:25
12 LL | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) {
15 error: this lifetime isn't used in the function definition
16 --> $DIR/unused_lt.rs:41:10
18 LL | fn x<'a>(&self) {}
21 error: aborting due to 3 previous errors