diff options
| author | bors <bors@rust-lang.org> | 2023-08-17 15:55:23 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-08-17 15:55:23 +0000 |
| commit | d5298bea7fd0ce133506d156795e3dc7c68efc20 (patch) | |
| tree | 339ae7b1f56c3a717c059ea30ed6af2ff4909c50 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | 701e77c87f488155e621211126afe56ea0c1de7f (diff) | |
| parent | 5875bd2b5f2b593d708459111bff42ba4535cebc (diff) | |
| download | rust-d5298bea7fd0ce133506d156795e3dc7c68efc20.tar.gz rust-d5298bea7fd0ce133506d156795e3dc7c68efc20.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 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
