remove redundant closures (clippy::redundant_closure)
rustc_ty_library
For more information about how rustc works, see the rustc dev guide.