| error: this type has already been used as a bound predicate |
| --> $DIR/type_repetition_in_bounds.rs:9:5 |
| | |
| LL | T: Clone, |
| | ^^^^^^^^ |
| | |
| = help: consider combining the bounds: `T: Copy + Clone` |
| note: the lint level is defined here |
| --> $DIR/type_repetition_in_bounds.rs:1:9 |
| | |
| LL | #![deny(clippy::type_repetition_in_bounds)] |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| |
| error: this type has already been used as a bound predicate |
| --> $DIR/type_repetition_in_bounds.rs:26:5 |
| | |
| LL | Self: Copy + Default + Ord, |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| | |
| = help: consider combining the bounds: `Self: Clone + Copy + Default + Ord` |
| |
| error: this type has already been used as a bound predicate |
| --> $DIR/type_repetition_in_bounds.rs:86:5 |
| | |
| LL | T: Clone, |
| | ^^^^^^^^ |
| | |
| = help: consider combining the bounds: `T: ?Sized + Clone` |
| |
| error: this type has already been used as a bound predicate |
| --> $DIR/type_repetition_in_bounds.rs:91:5 |
| | |
| LL | T: ?Sized, |
| | ^^^^^^^^^ |
| | |
| = help: consider combining the bounds: `T: Clone + ?Sized` |
| |
| error: aborting due to 4 previous errors |
| |