remove static_assert_size on InterpError

This commit is contained in:
b-naber 2021-11-26 23:39:48 +01:00
parent a040b4189d
commit 0b32cf3a8d

View File

@ -492,9 +492,6 @@ impl dyn MachineStopType {
}
}
#[cfg(all(target_arch = "x86_64", target_pointer_width = "64"))]
static_assert_size!(InterpError<'_>, 88);
pub enum InterpError<'tcx> {
/// The program caused undefined behavior.
UndefinedBehavior(UndefinedBehaviorInfo<'tcx>),