proper binding naming
This commit is contained in:
parent
562c64d86a
commit
a670f43886
1 changed files with 2 additions and 2 deletions
|
@ -526,8 +526,8 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> {
|
||||||
traits::VtableClosure(vtable_closure) =>
|
traits::VtableClosure(vtable_closure) =>
|
||||||
Ok((vtable_closure.closure_def_id, vtable_closure.substs.func_substs)),
|
Ok((vtable_closure.closure_def_id, vtable_closure.substs.func_substs)),
|
||||||
|
|
||||||
traits::VtableFnPointer(fn_ty) => {
|
traits::VtableFnPointer(vtable_fn_ptr) => {
|
||||||
if let ty::TyFnDef(did, ref substs, _) = fn_ty.fn_ty.sty {
|
if let ty::TyFnDef(did, ref substs, _) = vtable_fn_ptr.fn_ty.sty {
|
||||||
args.remove(0);
|
args.remove(0);
|
||||||
Ok((did, substs))
|
Ok((did, substs))
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue