diff --git a/kernel/frame_allocator/src/lib.rs b/kernel/frame_allocator/src/lib.rs index ecc4a26c0a..a9c09425d7 100644 --- a/kernel/frame_allocator/src/lib.rs +++ b/kernel/frame_allocator/src/lib.rs @@ -633,7 +633,7 @@ assert_not_impl_any!(AllocatedFrame: DerefMut, Clone); assert_not_impl_any!(AllocatedFrame: DerefMut, Clone); /// The result of splitting a `Frames` object into multiple smaller `Frames` objects. -pub struct SplitFrames { +pub struct SplitFrames { before_start: Option>, start_to_end: Frames, after_end: Option>, diff --git a/kernel/page_allocator/src/lib.rs b/kernel/page_allocator/src/lib.rs index d0eefdcb48..7c15ec9f6e 100644 --- a/kernel/page_allocator/src/lib.rs +++ b/kernel/page_allocator/src/lib.rs @@ -17,7 +17,6 @@ //! or when needed to fulfill a specific request. #![no_std] -#![feature(const_trait_impl)] extern crate alloc; #[macro_use] extern crate log;