1 error: this lifetime isn't used in the function definition
2 --> $DIR/extra_unused_lifetimes.rs:19: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:46:10
12 LL | fn x<'a>(&self) {}
15 error: this lifetime isn't used in the function definition
16 --> $DIR/extra_unused_lifetimes.rs:72:22
18 LL | fn unused_lt<'a>(x: u8) {}
21 error: this lifetime isn't used in the impl
22 --> $DIR/extra_unused_lifetimes.rs:83:10
24 LL | impl<'a> std::ops::AddAssign<&Scalar> for &mut Scalar {
27 error: this lifetime isn't used in the impl
28 --> $DIR/extra_unused_lifetimes.rs:89:10
30 LL | impl<'b> Scalar {
33 error: this lifetime isn't used in the function definition
34 --> $DIR/extra_unused_lifetimes.rs:90:26
36 LL | pub fn something<'c>() -> Self {
39 error: aborting due to 6 previous errors