1 error: this type has already been used as a bound predicate
2 --> $DIR/type_repetition_in_bounds.rs:3:37
4 LL | pub fn foo<T>(_t: T) where T: Copy, T: Clone {
7 note: lint level defined here
8 --> $DIR/type_repetition_in_bounds.rs:1:8
10 LL | #[deny(clippy::type_repetition_in_bounds)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = help: consider combining the bounds: `T: Copy + Clone`
14 error: aborting due to previous error