pub fn to_closure_sig(
    tcx: TyCtxt<'_>,
    closure_id: LocalDefId,
    tys: &[Ty],
    args: &GenericArgs,
    poly_sig: &PolyFnSig,
) -> PolyFnSigpub fn to_closure_sig(
    tcx: TyCtxt<'_>,
    closure_id: LocalDefId,
    tys: &[Ty],
    args: &GenericArgs,
    poly_sig: &PolyFnSig,
) -> PolyFnSig