diff options
| author | bors <bors@rust-lang.org> | 2024-04-03 19:07:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-03 19:07:51 +0000 |
| commit | e80ca2f3816ed6f4584480d40b8671a15b2225fc (patch) | |
| tree | 276d3d3dc88262f167cf901374e55aa8fac93978 /tests/rustdoc-js-std/parser-errors.js | |
| parent | f9f854f4283c9239769f807f14a7475256c8730d (diff) | |
| parent | 571118f4b018aad8b15e8f80aa905f0209a27aba (diff) | |
| download | rust-e80ca2f3816ed6f4584480d40b8671a15b2225fc.tar.gz rust-e80ca2f3816ed6f4584480d40b8671a15b2225fc.zip | |
Auto merge of #12615 - Kobzol:fix-recursive-clone-from, r=blyxyas
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
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
