mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
remove static_assert_size on InterpError
This commit is contained in:
@@ -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>),
|
||||
|
||||
Reference in New Issue
Block a user