fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: this lifetime isn't used in the function definition 2 --> $DIR/extra_unused_lifetimes.rs:19:14 3 | 4LL | fn unused_lt<'a>(x: u8) {} 5 | ^^ 6 | 7 = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings` 8 = help: to override `-D warnings` add `#[allow(clippy::extra_unused_lifetimes)]` 9 10error: this lifetime isn't used in the function definition 11 --> $DIR/extra_unused_lifetimes.rs:46:10 12 | 13LL | fn x<'a>(&self) {} 14 | ^^ 15 16error: this lifetime isn't used in the function definition 17 --> $DIR/extra_unused_lifetimes.rs:72:22 18 | 19LL | fn unused_lt<'a>(x: u8) {} 20 | ^^ 21 22error: this lifetime isn't used in the impl 23 --> $DIR/extra_unused_lifetimes.rs:83:10 24 | 25LL | impl<'a> std::ops::AddAssign<&Scalar> for &mut Scalar { 26 | ^^ 27 28error: this lifetime isn't used in the impl 29 --> $DIR/extra_unused_lifetimes.rs:89:10 30 | 31LL | impl<'b> Scalar { 32 | ^^ 33 34error: this lifetime isn't used in the function definition 35 --> $DIR/extra_unused_lifetimes.rs:90:26 36 | 37LL | pub fn something<'c>() -> Self { 38 | ^^ 39 40error: aborting due to 6 previous errors 41