Function rustc_typeck::collect::type_param_predicates
source · fn type_param_predicates(
tcx: TyCtxt<'_>,
(item_def_id, def_id, assoc_name): (DefId, LocalDefId, Ident)
) -> GenericPredicates<'_>
Expand description
Returns the predicates defined on item_def_id
of the form
X: Foo
where X
is the type parameter def_id
.