diff --git a/src/interpreter/terminator.rs b/src/interpreter/terminator.rs index 4e9d0186b7cf..d8edad79f1eb 100644 --- a/src/interpreter/terminator.rs +++ b/src/interpreter/terminator.rs @@ -531,7 +531,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> { args.remove(0); Ok((did, substs)) } else { - bug!("VtableFnPointer did not contain a concrete function: {:?}", fn_ty) + bug!("VtableFnPointer did not contain a concrete function: {:?}", vtable_fn_ptr) } }