Function rustc::traits::project::project_and_unify_type[][src]

fn project_and_unify_type<'cx, 'gcx, 'tcx>(
    selcx: &mut SelectionContext<'cx, 'gcx, 'tcx>,
    obligation: &Obligation<'tcx, ProjectionPredicate<'tcx>>
) -> Result<Option<Vec<PredicateObligation<'tcx>>>, MismatchedProjectionTypes<'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?

Evaluates constraints of the form:

<T as Trait>::U == V

If successful, this may result in additional obligations.