Function rustc_hir_analysis::collect::predicates_of::type_param_predicates
source ยท pub(super) fn type_param_predicates(
tcx: TyCtxt<'_>,
(item_def_id, def_id, assoc_name): (LocalDefId, 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.