mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-27 23:20:39 +00:00
9a253fa68e
Refactor `implied_bounds_in_impls` lint Some refactors in `implied_bounds_in_impls` that I wanted to make while working on something else in that file, but I found them "large" enough that I didn't want them in the same PR and instead wanted them reviewed separately (since itd just be distracting). This just splits up the two phases of "collect all the supertraits from each of the `impl Trait` bounds" and "find those `impl Trait` bounds that are mentioned in one of the previously-collected supertraits" into separate functions. Before, this was all in a single function. Reviewing it commit by commit might make it easier. I can squash it down later. changelog: none |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |