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 @@ pub fn downcast_ref<T: Any>(&self) -> Option<&T> {
}
}
#[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>),