2 Checks for lifetimes in generics that are never used
6 The additional lifetimes make the code look more
7 complicated, while there is nothing out of the ordinary going on. Removing
8 them leads to more readable code.
12 // unnecessary lifetimes
13 fn unused_lifetime<'a>(x: u8) {
20 fn no_lifetime(x: u8) {