]> git.lizzy.rs Git - rust.git/blob - tests/ui/unused_lt.stderr
remove all //~ from tests
[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: lint level defined here
8   --> $DIR/unused_lt.rs:4:9
9    |
10 4  | #![deny(unused_lifetimes)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: this lifetime isn't used in the function definition
14   --> $DIR/unused_lt.rs:20:25
15    |
16 20 | fn unused_lt_transitive<'a, 'b: 'a>(x: &'b u8) {
17    |                         ^^
18
19 error: this lifetime isn't used in the function definition
20   --> $DIR/unused_lt.rs:50:10
21    |
22 50 |     fn x<'a>(&self) {}
23    |          ^^
24
25 error: aborting due to 3 previous errors
26