Function rustc::middle::traits::predicates_for_genericsUnstable [-] [+] [src]

pub fn predicates_for_generics<'tcx>(tcx: &ctxt<'tcx>, cause: ObligationCause<'tcx>, generic_bounds: &InstantiatedPredicates<'tcx>) -> PredicateObligations<'tcx>

Creates predicate obligations from the generic bounds.