mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 04:56:25 +03:00
5e8c0c5ae0
Check for clone-on-copy in argument positions Earlier if arguments to method calls matched the above pattern they were not reported. This patch ensures such arguments are checked as well. Fixes #5436 changelog: apply clone_on_copy lint to func args as well