]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_lt.stderr
Merge branch 'master' into rustfmt_tests
[rust.git] / tests / ui / unused_lt.stderr
1 error: this lifetime isn't used in the function definition
2   --> $DIR/unused_lt.rs:23:14
3    |
4 23 | 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/unused_lt.rs:25:25
11    |
12 25 | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) {
13    |                         ^^
14
15 error: this lifetime isn't used in the function definition
16   --> $DIR/unused_lt.rs:50:10
17    |
18 50 |     fn x<'a>(&self) {}
19    |          ^^
20
21 error: aborting due to 3 previous errors
22