diff options
| author | bors <bors@rust-lang.org> | 2023-08-17 15:55:23 +0000 |
|---|---|---|
| committer | Philipp Krones <hello@philkrones.com> | 2023-08-17 18:06:36 +0200 |
| commit | 5638860ff8f3996522c6b632ca972177bc2df026 (patch) | |
| tree | ffa80a423caf3d2e6b1441d44d34badf76ebe115 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs | |
| parent | d068043891de98a6263bbfe73f11958531b5d6f7 (diff) | |
| download | rust-5638860ff8f3996522c6b632ca972177bc2df026.tar.gz rust-5638860ff8f3996522c6b632ca972177bc2df026.zip | |
Auto merge of #11314 - GuillaumeGomez:needless_ref_mut_async_block, r=Centri3
Correctly handle async blocks for NEEDLESS_PASS_BY_REF_MUT Fixes https://github.com/rust-lang/rust-clippy/issues/11299. The problem was that the `async block`s are popping a closure which we didn't go into, making it miss the mutable access to the variables. cc `@Centri3` changelog: none
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha1.rs')
0 files changed, 0 insertions, 0 deletions
