mirror of
https://github.com/rust-lang/rust.git
synced 2026-03-23 20:35:31 +00:00
Make suggestion to change `Fn` to `FnMut` work with methods as well Fixes #125325 The issue occurred because the code that emitted the suggestion to change `Fn` to `FnMut` worked only for function calls and not method calls. This PR makes it work with methods as well.