1 error: lifetime parameter `'a` only used once
2 --> $DIR/one-use-in-inherent-method-argument.rs:12:19
4 LL | fn inherent_a<'a>(&self, data: &'a u32) {
5 | ^^ -- ...is used only here
9 note: the lint level is defined here
10 --> $DIR/one-use-in-inherent-method-argument.rs:1:9
12 LL | #![deny(single_use_lifetimes)]
13 | ^^^^^^^^^^^^^^^^^^^^
14 help: elide the single-use lifetime
16 LL - fn inherent_a<'a>(&self, data: &'a u32) {
17 LL + fn inherent_a(&self, data: &u32) {
20 error: lifetime parameter `'f` only used once
21 --> $DIR/one-use-in-inherent-method-argument.rs:11:6
23 LL | impl<'f> Foo<'f> {
24 | ^^ -- ...is used only here
28 error: aborting due to 2 previous errors