mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-07 20:57:21 +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.