We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a60f440 commit 5c05eaaCopy full SHA for 5c05eaa
1 file changed
src/eval_context.rs
@@ -1807,8 +1807,8 @@ fn resolve_associated_item<'a, 'tcx>(
1807
def_id, trait_id, rcvr_substs);
1808
1809
let trait_ref = ty::TraitRef::from_method(tcx, trait_id, rcvr_substs);
1810
- let vtbl = tcx.trans_fulfill_obligation(DUMMY_SP, ty::ParamEnv::empty(Reveal::All),
1811
- ty::Binder(trait_ref));
+ let vtbl = tcx.trans_fulfill_obligation((ty::ParamEnv::empty(Reveal::All),
+ ty::Binder(trait_ref)));
1812
1813
// Now that we know which impl is being used, we can dispatch to
1814
// the actual function:
0 commit comments