1 error: this trait bound is already specified in the where clause
2 --> $DIR/trait_duplication_in_bounds.rs:5:15
4 LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)
7 note: the lint level is defined here
8 --> $DIR/trait_duplication_in_bounds.rs:1:9
10 LL | #![deny(clippy::trait_duplication_in_bounds)]
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = help: consider removing this trait bound
14 error: this trait bound is already specified in the where clause
15 --> $DIR/trait_duplication_in_bounds.rs:5:23
17 LL | fn bad_foo<T: Clone + Default, Z: Copy>(arg0: T, arg1: Z)
20 = help: consider removing this trait bound
22 error: aborting due to 2 previous errors