Function rustc::traits::predicates_for_generics [] [src]

pub fn predicates_for_generics<'tcx>(
    cause: ObligationCause<'tcx>,
    param_env: ParamEnv<'tcx>,
    generic_bounds: &InstantiatedPredicates<'tcx>
) -> PredicateObligations<'tcx>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Creates predicate obligations from the generic bounds.