mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 15:23:46 +00:00
e80ca2f381
Do not suggest `assigning_clones` in `Clone` impl This PR modifies `assigning_clones` to detect situations where the `clone` call is inside a `Clone` impl, and avoids suggesting the lint in such situations. r? `@blyxyas` Fixes: https://github.com/rust-lang/rust-clippy/issues/12600 changelog: Do not invoke `assigning_clones` inside `Clone` impl |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |