Function rustc::traits::util::predicate_for_trait_ref [−][src]
pub fn predicate_for_trait_ref<'tcx>(
cause: ObligationCause<'tcx>,
param_env: ParamEnv<'tcx>,
trait_ref: TraitRef<'tcx>,
recursion_depth: usize
) -> PredicateObligation<'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?