Closed
Description
See an example from Serde in serde-rs/serde#1595.
I consider this a false positive because in code generators we optimize for readability of the macro code, not readability of the code that gets generated.
As a simple example, a macro might want to add a where-clause:
generics.where_clause.predicates.push(parse_quote!(#param: Serialize));
It wouldn't make sense here to have extra logic to detect whether the where-clause in the macro input happens to already have some bounds on the same type parameter and if so then insert bounds into the same predicate, otherwise add a new predicate.