2 This lint warns about unnecessary type repetitions in trait bounds
5 Repeating the type for every bound makes the code
6 less readable than combining the bounds
10 pub fn foo<T>(t: T) where T: Copy, T: Clone {}
15 pub fn foo<T>(t: T) where T: Copy + Clone {}