diff --git a/rust/kernel/error.rs b/rust/kernel/error.rs index be6509d5f4a4a7c1565bc33decef7d69b400793c..aced2fe68b86b613303369d61d819cd2eac35f47 100644 --- a/rust/kernel/error.rs +++ b/rust/kernel/error.rs @@ -6,7 +6,7 @@ use crate::{alloc::AllocError, str::CStr}; -use alloc::alloc::LayoutError; +use core::alloc::LayoutError; use core::fmt; use core::num::NonZeroI32;