diff options
| author | bors <bors@rust-lang.org> | 2023-07-25 00:29:51 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-07-25 00:29:51 +0000 |
| commit | 43b0e1101b162d72fafef227f6e09bbcb4bdb83d (patch) | |
| tree | 8180e7aeda538462b2059491069c8828b94960de /tests/codegen/src-hash-algorithm | |
| parent | 867e0ec0249bce7631c5590061028507ff4239b9 (diff) | |
| parent | ef482d17f2f990ac1a9de49c03e771bb0dc1cf3e (diff) | |
| download | rust-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
