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

fn type_param_predicates(
    tcx: TyCtxt,
    (item_def_id, def_id): (DefId, LocalDefId)
) -> GenericPredicates
⚙️ This is an internal compiler API. (rustc_private)

This crate is being loaded from the sysroot, a permanently unstable location for private compiler dependencies. It is not intended for general use. Prefer using a public version of this crate from crates.io via Cargo.toml.

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