mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-23 21:23:56 +00:00
aa2c94e416
Look for `implied_bounds_in_impls` in more positions With this, we lint `impl Trait` implied bounds in more positions: - Type alias impl trait - Associated type position impl trait - Argument position impl trait - these are not opaque types, but instead are desugared to `where` clauses, so we need extra logic for finding them (`check_generics`), however the rest of the logic is the same Before this, we'd only lint RPIT `impl Trait`s. "Hide whitespaces" and reviewing commits individually might make this easier changelog: [`implied_bounds_in_impls`]: start linting implied bounds in APIT, ATPIT, TAIT |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |