diff --git a/crates/ironrdp-error/src/lib.rs b/crates/ironrdp-error/src/lib.rs index b3d26527..5d05b422 100644 --- a/crates/ironrdp-error/src/lib.rs +++ b/crates/ironrdp-error/src/lib.rs @@ -48,7 +48,7 @@ impl Error { #[cfg(feature = "alloc")] { let mut this = self; - this.source = Some(Box::new(source)); + this.source = Some(alloc::boxed::Box::new(source)); this }