diff --git a/src/interpreter/mod.rs b/src/interpreter/mod.rs index de05140377b3..0df25464bf0b 100644 --- a/src/interpreter/mod.rs +++ b/src/interpreter/mod.rs @@ -1006,7 +1006,7 @@ impl<'a, 'tcx> EvalContext<'a, 'tcx> { Err(e) => return Err(e), } } else { - return Err(EvalError::Unimplemented(format!("unimplemented: primitive read of fat pointer type: {:?}", ty))); + bug!("primitive read of fat pointer type: {:?}", ty); } }