mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 06:37:57 +00:00

Correct suggestions for closure arguments that need a borrow Fixes #107301 by dealing with binders correctly Fixes another issue where we were suggesting adding just `&` when we expected `&mut _` in a closure arg