mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 04:39:16 +00:00
5638860ff8
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 |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |