diff --git a/charon/src/translate_functions_to_ullbc.rs b/charon/src/translate_functions_to_ullbc.rs
index 1c0f825e0..d08fe7027 100644
--- a/charon/src/translate_functions_to_ullbc.rs
+++ b/charon/src/translate_functions_to_ullbc.rs
@@ -3,6 +3,9 @@
//! us to handle, and easier to maintain - rustc's representation can evolve
//! independently.
+use std::mem;
+use std::panic;
+
use crate::assumed;
use crate::common::*;
use crate::expressions::*;
@@ -1443,6 +1446,24 @@ impl<'tcx, 'ctx, 'ctx1> BodyTransCtx<'tcx, 'ctx, 'ctx1> {
mut self,
rust_id: DefId,
arg_count: usize,
+ ) -> Result