From a7a1cb3ecd7a6c22fd7df8143af4ddca8d6fefa0 Mon Sep 17 00:00:00 2001 From: Gwilym Kuiper Date: Mon, 16 Aug 2021 21:20:52 +0100 Subject: [PATCH] use super::*; --- agb/src/agb_alloc/bump_allocator.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/agb/src/agb_alloc/bump_allocator.rs b/agb/src/agb_alloc/bump_allocator.rs index ab68757a..51526dbd 100644 --- a/agb/src/agb_alloc/bump_allocator.rs +++ b/agb/src/agb_alloc/bump_allocator.rs @@ -72,6 +72,7 @@ fn alloc_error(layout: Layout) -> ! { #[cfg(test)] mod test { + use super::*; use alloc::boxed::Box; #[test_case] @@ -85,7 +86,7 @@ mod test { let address = &*first_box as *const _ as usize; assert!( - address >= super::EWRAM_START && address < super::EWRAM_END, + address >= EWRAM_START && address < EWRAM_END, "ewram is located between 0x0200_0000 and 0x0204_0000, address was actually found to be {:#010X}", address );