]> git.lizzy.rs Git - rust.git/blob - clippy_tests/examples/unused_lt.stderr
2c2aac2d84e0446de9d0fa2fca59a4e1cd69f58f
[rust.git] / clippy_tests / examples / unused_lt.stderr
1 error: this lifetime isn't used in the function definition
2   --> unused_lt.rs:16:14
3    |
4 16 | fn unused_lt<'a>(x: u8) {
5    |              ^^
6    |
7    = note: `-D unused-lifetimes` implied by `-D warnings`
8
9 error: this lifetime isn't used in the function definition
10   --> unused_lt.rs:20:25
11    |
12 20 | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) {
13    |                         ^^
14    |
15    = note: `-D unused-lifetimes` implied by `-D warnings`
16
17 error: this lifetime isn't used in the function definition
18   --> unused_lt.rs:50:10
19    |
20 50 |     fn x<'a>(&self) {}
21    |          ^^
22    |
23    = note: `-D unused-lifetimes` implied by `-D warnings`
24
25 error: aborting due to previous error(s)
26
27 error: Could not compile `clippy_tests`.
28
29 To learn more, run the command again with --verbose.