manual_memcpy
does not trigger when a loop uses an iterator
#14009
Labels
C-bug
Category: Clippy is not doing the correct thing
I-false-negative
Issue: The lint should have been triggered on code, but wasn't
Summary
manual_memcpy
doesn't trigger when an iterator is used within afor
loop.Lint Name
manual_memcpy
Reproducer
I tried this code:
I expected to see this happen: Pointing out memcpy is being re-implemented.
Instead, this happened: No warnings were emitted.
Version
The text was updated successfully, but these errors were encountered: