about summary refs log tree commit diff
diff options
context:
space:
mode:
authorb-naber <bn263@gmx.de>2021-11-26 23:39:48 +0100
committerb-naber <bn263@gmx.de>2021-12-01 12:12:39 +0100
commit0b32cf3a8d5bda2fb2599e658102e2d7bd70a07f (patch)
tree13e3952bf7fc6b53c7448a13509b81554351fa61
parenta040b4189d326b25559041bd2c6452bfe0c9cfa7 (diff)
downloadrust-0b32cf3a8d5bda2fb2599e658102e2d7bd70a07f.tar.gz
rust-0b32cf3a8d5bda2fb2599e658102e2d7bd70a07f.zip
remove static_assert_size on InterpError
-rw-r--r--compiler/rustc_middle/src/mir/interpret/error.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_middle/src/mir/interpret/error.rs b/compiler/rustc_middle/src/mir/interpret/error.rs
index 3e307979f2d..8e4a17bfa65 100644
--- a/compiler/rustc_middle/src/mir/interpret/error.rs
+++ b/compiler/rustc_middle/src/mir/interpret/error.rs
@@ -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>),