about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-07-25 00:29:51 +0000
committerbors <bors@rust-lang.org>2023-07-25 00:29:51 +0000
commit43b0e1101b162d72fafef227f6e09bbcb4bdb83d (patch)
tree8180e7aeda538462b2059491069c8828b94960de /tests/codegen/src-hash-algorithm
parent867e0ec0249bce7631c5590061028507ff4239b9 (diff)
parentef482d17f2f990ac1a9de49c03e771bb0dc1cf3e (diff)
downloadrust-43b0e1101b162d72fafef227f6e09bbcb4bdb83d.tar.gz
rust-43b0e1101b162d72fafef227f6e09bbcb4bdb83d.zip
Auto merge of #11207 - Centri3:#11182, r=giraffate
[`needless_pass_by_ref_mut`]: Do not lint if passed as a fn-like argument

Fixes #11182 and also fixes #11199 (though this is kind of a duplicate)

There's likely a case or two I've missed, so this likely needs a bit more work but it seems to work fine with the tests I've added.

PS, the diff for the test is useless because it iterates over a hashmap before linting. Seems to work fine but we could maybe change this for consistency's sake

changelog: [`needless_pass_by_ref_mut`]: No longer lints if the function is passed as a fn-like argument
Diffstat (limited to 'tests/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions