1 error: lifetime parameter `'a` never used
2 --> $DIR/unused-lifetime.rs:8:35
4 LL | async fn async_wrong_without_args<'a>() {}
5 | -^^- help: elide the unused lifetime
7 note: the lint level is defined here
8 --> $DIR/unused-lifetime.rs:6:9
10 LL | #![deny(unused_lifetimes)]
13 error: lifetime parameter `'a` never used
14 --> $DIR/unused-lifetime.rs:10:33
16 LL | async fn async_wrong_1_lifetime<'a>(_: &i32) {}
17 | -^^- help: elide the unused lifetime
19 error: lifetime parameter `'b` never used
20 --> $DIR/unused-lifetime.rs:12:38
22 LL | async fn async_wrong_2_lifetimes<'a, 'b>(_: &'a i32, _: &i32) {}
25 | help: elide the unused lifetime
27 error: lifetime parameter `'a` never used
28 --> $DIR/unused-lifetime.rs:23:23
30 LL | fn wrong_without_args<'a>() {}
31 | -^^- help: elide the unused lifetime
33 error: lifetime parameter `'a` never used
34 --> $DIR/unused-lifetime.rs:25:21
36 LL | fn wrong_1_lifetime<'a>(_: &i32) {}
37 | -^^- help: elide the unused lifetime
39 error: lifetime parameter `'b` never used
40 --> $DIR/unused-lifetime.rs:27:26
42 LL | fn wrong_2_lifetimes<'a, 'b>(_: &'a i32, _: &i32) {}
45 | help: elide the unused lifetime
47 error: aborting due to 6 previous errors