error: this trait bound is already specified in the where clause --> tests/ui/trait_duplication_in_bounds_unfixable.rs:7:15 | LL | fn bad_foo(arg0: T, arg1: Z) | ^^^^^ | = help: consider removing this trait bound note: the lint level is defined here --> tests/ui/trait_duplication_in_bounds_unfixable.rs:1:9 | LL | #![deny(clippy::trait_duplication_in_bounds)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: this trait bound is already specified in the where clause --> tests/ui/trait_duplication_in_bounds_unfixable.rs:7:23 | LL | fn bad_foo(arg0: T, arg1: Z) | ^^^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:38:15 | LL | Self: Default; | ^^^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:53:15 | LL | Self: Default + Clone; | ^^^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:60:15 | LL | Self: Default + Clone; | ^^^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:60:25 | LL | Self: Default + Clone; | ^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:65:15 | LL | Self: Default; | ^^^^^^^ | = help: consider removing this trait bound error: this trait bound is already specified in trait declaration --> tests/ui/trait_duplication_in_bounds_unfixable.rs:101:15 | LL | Self: Iterator, | ^^^^^^^^^^^^^^^^^^^^ | = help: consider removing this trait bound error: aborting due to 8 previous errors