Skip to main content

resolve_for_dyn

Function resolve_for_dyn 

Source
pub(super) fn resolve_for_dyn<'tcx, S, T, U>(
    s: &S,
    epreds: &'tcx List<Binder<'tcx, ExistentialPredicate<'tcx>>>,
    f: impl FnOnce(&mut PredicateSearcher<'tcx>, Ty<'tcx>) -> T,
) -> DynBinder<'tcx, U>
where S: UnderOwnerState<'tcx>, T: SInto<S, U>,