]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_lt.stderr
Auto merge of #3635 - matthiaskrgr:revert_random_state_3603, r=xfix
[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 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/unused_lt.rs:25:25
11    |
12 LL | 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 LL |     fn x<'a>(&self) {}
19    |          ^^
20
21 error: aborting due to 3 previous errors
22