mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-05 19:41:58 +00:00
When encountering a fn call that has a path to another fn being passed in, where an `Fn` impl is expected, and the arguments differ, suggest wrapping the argument with a closure with the appropriate arguments.