]> git.lizzy.rs Git - rust.git/blob - tests/ui/extra_unused_lifetimes.stderr
Merge remote-tracking branch 'upstream/master' into rustup
[rust.git] / tests / ui / extra_unused_lifetimes.stderr
1 error: this lifetime isn't used in the function definition
2   --> $DIR/extra_unused_lifetimes.rs:14:14
3    |
4 LL | fn unused_lt<'a>(x: u8) {}
5    |              ^^
6    |
7    = note: `-D clippy::extra-unused-lifetimes` implied by `-D warnings`
8
9 error: this lifetime isn't used in the function definition
10   --> $DIR/extra_unused_lifetimes.rs:41:10
11    |
12 LL |     fn x<'a>(&self) {}
13    |          ^^
14
15 error: this lifetime isn't used in the function definition
16   --> $DIR/extra_unused_lifetimes.rs:67:22
17    |
18 LL |         fn unused_lt<'a>(x: u8) {}
19    |                      ^^
20
21 error: this lifetime isn't used in the impl
22   --> $DIR/extra_unused_lifetimes.rs:78:10
23    |
24 LL |     impl<'a> std::ops::AddAssign<&Scalar> for &mut Scalar {
25    |          ^^
26
27 error: this lifetime isn't used in the impl
28   --> $DIR/extra_unused_lifetimes.rs:84:10
29    |
30 LL |     impl<'b> Scalar {
31    |          ^^
32
33 error: this lifetime isn't used in the function definition
34   --> $DIR/extra_unused_lifetimes.rs:85:26
35    |
36 LL |         pub fn something<'c>() -> Self {
37    |                          ^^
38
39 error: aborting due to 6 previous errors
40