Looks like there's a new clippy lint out there! Many errors like this:
error: bound is defined in more than one place
--> minijinja/src/value/serialize.rs:126:23
|
126 | fn serialize_some<T: ?Sized>(self, value: &T) -> Result<Value, InvalidValue>
| ^
127 | where
128 | T: Serialize,
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations
= note: `-D clippy::multiple-bound-locations` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::multiple_bound_locations)]`
Happy to provide another PR, do you want to silence the lint, move the ?Sized bounds to where clauses, or move the other bounds outside of where?
Looks like there's a new clippy lint out there! Many errors like this:
Happy to provide another PR, do you want to silence the lint, move the
?Sized
bounds towhere
clauses, or move the other bounds outside ofwhere
?