diff --git a/crates/environ/src/trap_encoding.rs b/crates/environ/src/trap_encoding.rs index 3c8fb354d8ae..b9ca1f17938d 100644 --- a/crates/environ/src/trap_encoding.rs +++ b/crates/environ/src/trap_encoding.rs @@ -99,10 +99,6 @@ pub enum Trap { /// Attempt to resume a continuation twice. ContinuationAlreadyConsumed, - /// FIXME(frank-emrich) Only used for stack switching debugging code, to be - /// removed from final upstreamed code. - DeleteMeDebugAssertion, - /// A Pulley opcode was executed at runtime when the opcode was disabled at /// compile time. DisabledOpcode, @@ -145,7 +141,6 @@ impl Trap { NoAsyncResult UnhandledTag ContinuationAlreadyConsumed - DeleteMeDebugAssertion DisabledOpcode } @@ -180,7 +175,6 @@ impl fmt::Display for Trap { NoAsyncResult => "async-lifted export failed to produce a result", UnhandledTag => "unhandled tag", ContinuationAlreadyConsumed => "continuation already consumed", - DeleteMeDebugAssertion => "triggered debug assertion", DisabledOpcode => "pulley opcode disabled at compile time was executed", }; write!(f, "wasm trap: {desc}")