Description
When building the suggestion, the lint is unnecessarily using ExprUseVisitor to handle the closure arg's type change. This works currently, but with rust-lang/rust#138961 this will be broken. Using a regular HIR visitor will fix this and be a better match for what the lint wants to do.
Version
Additional Labels
No response