1 warning: lint `single_use_lifetime` has been renamed to `single_use_lifetimes`
2 --> $DIR/renamed-lints-still-apply.rs:2:9
4 LL | #![deny(single_use_lifetime)]
5 | ^^^^^^^^^^^^^^^^^^^ help: use the new name: `single_use_lifetimes`
7 = note: `#[warn(renamed_and_removed_lints)]` on by default
9 error: lifetime parameter `'a` only used once
10 --> $DIR/renamed-lints-still-apply.rs:6:9
12 LL | fn _foo<'a>(_x: &'a u32) {}
13 | ^^ -- ...is used only here
17 note: the lint level is defined here
18 --> $DIR/renamed-lints-still-apply.rs:2:9
20 LL | #![deny(single_use_lifetime)]
22 help: elide the single-use lifetime
24 LL - fn _foo<'a>(_x: &'a u32) {}
25 LL + fn _foo(_x: &u32) {}
28 error: aborting due to previous error; 1 warning emitted