diff --git a/boa_engine/src/module/mod.rs b/boa_engine/src/module/mod.rs
index 55a0424617..868055cb5c 100644
--- a/boa_engine/src/module/mod.rs
+++ b/boa_engine/src/module/mod.rs
@@ -50,7 +50,7 @@ use crate::{
realm::Realm,
Context, JsError, JsResult, JsString, JsValue,
};
-use crate::{js_string, JsNativeError, NativeFunction};
+use crate::{js_string, HostDefined, JsNativeError, NativeFunction};
/// The referrer from which a load request of a module originates.
#[derive(Debug, Clone)]
@@ -276,7 +276,6 @@ impl std::fmt::Debug for Module {
.field("environment", &self.inner.environment)
.field("namespace", &self.inner.namespace)
.field("kind", &self.inner.kind)
- .field("host_defined", &self.inner.host_defined)
.finish()
}
}
@@ -287,7 +286,7 @@ struct Inner {
environment: GcRefCell