Function rustc_trans::trans::common::fulfill_obligationExperimental
[-]
[+]
[src]
pub fn fulfill_obligation<'a, 'tcx>(ccx: &CrateContext<'a, 'tcx>, span: Span, trait_ref: Rc<TraitRef<'tcx>>) -> Vtable<'tcx, ()>
Attempts to resolve an obligation. The result is a shallow vtable resolution -- meaning that we do not (necessarily) resolve all nested obligations on the impl. Note that type check should guarantee to us that all nested obligations could be resolved if we wanted to.