This repository has been archived by the owner on Mar 25, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve type_repetition_in_bounds clippy lint
error: this type has already been used as a bound predicate --> src/ser.rs:189:9 | 189 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = note: `-D clippy::type-repetition-in-bounds` implied by `-D clippy::pedantic` = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:203:9 | 203 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:217:9 | 217 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:298:9 | 298 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:318:9 | 318 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:338:9 | 338 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:358:9 | 358 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:378:9 | 378 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:385:9 | 385 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:392:9 | 392 | K: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `K: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:393:9 | 393 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:413:9 | 413 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:433:9 | 433 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:566:9 | 566 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:579:9 | 579 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:590:9 | 590 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:685:9 | 685 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:702:9 | 702 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:718:9 | 718 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:734:9 | 734 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:751:9 | 751 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:759:9 | 759 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:770:9 | 770 | K: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `K: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:771:9 | 771 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:788:9 | 788 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:805:9 | 805 | V: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `V: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:823:5 | 823 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:834:5 | 834 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/ser.rs:847:5 | 847 | T: ser::Serialize, | ^^^^^^^^^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + ser::Serialize` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/value/index.rs:126:5 | 126 | T: Index, | ^^^^^^^^ | = help: consider combining the bounds: `T: Sized + Index` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds error: this type has already been used as a bound predicate --> src/value/index.rs:146:48 | 146 | impl<'a, T: ?Sized> Sealed for &'a T where T: Sealed {} | ^^^^^^^^^ | = help: consider combining the bounds: `T: Sized + Sealed` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_repetition_in_bounds
- Loading branch information