From 0b32cf3a8d5bda2fb2599e658102e2d7bd70a07f Mon Sep 17 00:00:00 2001 From: b-naber Date: Fri, 26 Nov 2021 23:39:48 +0100 Subject: [PATCH] remove static_assert_size on InterpError --- compiler/rustc_middle/src/mir/interpret/error.rs | 3 --- 1 file changed, 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>),