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