1
Fork 0

There will never be a PrimVal for fat pointers.

Instead, there will be a `Value::ByValPair` variant for holding fat pointers
(among other things) modelled after `OperandValue::Pair` in rustc's trans.
This commit is contained in:
Scott Olson 2016-09-19 03:36:41 -06:00
parent 6c306f2254
commit 85cba42a7b

View file

@ -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);
}
}