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 | ff89efeda2c905575665de2bd87d546d208b8195 (patch) | |
| tree | 086d4b4bc41a0e431919b03c29223ad691da975a /compiler/rustc_middle/src/dep_graph/mod.rs | |
| parent | 09d05c04da516d4f54ccf41e22b544bc8c425373 (diff) | |
| download | rust-ff89efeda2c905575665de2bd87d546d208b8195.tar.gz rust-ff89efeda2c905575665de2bd87d546d208b8195.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_middle/src/dep_graph/mod.rs')
0 files changed, 0 insertions, 0 deletions
