[−][src]Function rustc_typeck::collect::type_param_predicates

pub(in collect) fn type_param_predicates(
    tcx: TyCtxt<'_>,
    (item_def_id, def_id): (DefId, LocalDefId)
) -> GenericPredicates<'_>

Returns the predicates defined on item_def_id of the form X: Foo where X is the type parameter def_id.