Function rustc_typeck::traits::predicates_for_generics [−][src]
pub fn predicates_for_generics(
cause: ObligationCause<'tcx>,
param_env: ParamEnv<'tcx>,
generic_bounds: InstantiatedPredicates<'tcx>
) -> impl Iterator<Item = Obligation<'tcx, Predicate<'tcx>>>Expand description
Creates predicate obligations from the generic bounds.