]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_lt.stderr
Merge pull request #2984 from flip1995/single_char_pattern
[rust.git] / tests / ui / unused_lt.stderr
1 error: this lifetime isn't used in the function definition
2   --> $DIR/unused_lt.rs:16:14
3    |
4 16 | fn unused_lt<'a>(x: u8) {
5    |              ^^
6    |
7    = note: `-D extra-unused-lifetimes` implied by `-D warnings`
8
9 error: this lifetime isn't used in the function definition
10   --> $DIR/unused_lt.rs:20:25
11    |
12 20 | 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