1 error: this lifetime isn't used in the function definition
2 --> $DIR/extra_unused_lifetimes.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/extra_unused_lifetimes.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/extra_unused_lifetimes.rs:41:10
18 LL | fn x<'a>(&self) {}
21 error: this lifetime isn't used in the function definition
22 --> $DIR/extra_unused_lifetimes.rs:67:22
24 LL | fn unused_lt<'a>(x: u8) {}
27 error: this lifetime isn't used in the impl
28 --> $DIR/extra_unused_lifetimes.rs:78:10
30 LL | impl<'a> std::ops::AddAssign<&Scalar> for &mut Scalar {
33 error: this lifetime isn't used in the impl
34 --> $DIR/extra_unused_lifetimes.rs:84:10
36 LL | impl<'b> Scalar {
39 error: this lifetime isn't used in the function definition
40 --> $DIR/extra_unused_lifetimes.rs:85:26
42 LL | pub fn something<'c>() -> Self {
45 error: aborting due to 7 previous errors