about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-04-03 19:07:51 +0000
committerbors <bors@rust-lang.org>2024-04-03 19:07:51 +0000
commite80ca2f3816ed6f4584480d40b8671a15b2225fc (patch)
tree276d3d3dc88262f167cf901374e55aa8fac93978 /tests/rustdoc-js-std/parser-errors.js
parentf9f854f4283c9239769f807f14a7475256c8730d (diff)
parent571118f4b018aad8b15e8f80aa905f0209a27aba (diff)
downloadrust-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