mirror of
https://github.com/rust-lang/rust
synced 2024-10-20 23:44:13 +00:00
remove static_assert_size on InterpError
This commit is contained in:
parent
a040b4189d
commit
0b32cf3a8d
|
@ -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>),
|
||||
|
|
Loading…
Reference in a new issue