Function rustc::traits::project::assemble_candidates_from_param_env [−][src]
fn assemble_candidates_from_param_env<'cx, 'gcx, 'tcx>(
selcx: &mut SelectionContext<'cx, 'gcx, 'tcx>,
obligation: &Obligation<'tcx, ProjectionTy<'tcx>>,
obligation_trait_ref: &TraitRef<'tcx>,
candidate_set: &mut ProjectionTyCandidateSet<'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?
The first thing we have to do is scan through the parameter environment to see whether there are any projection predicates there that can answer this question.