Function rustc::traits::project::project_type [−][src]
fn project_type<'cx, 'gcx, 'tcx>(
selcx: &mut SelectionContext<'cx, 'gcx, 'tcx>,
obligation: &Obligation<'tcx, ProjectionTy<'tcx>>
) -> Result<ProjectedTy<'tcx>, ProjectionTyError<'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?
Compute the result of a projection type (if we can).
IMPORTANT:
obligation
must be fully normalized