diff --git a/alloc/tests/boxed.rs b/alloc/tests/boxed.rs index faee64b2f6738..bfc31a626fadd 100644 --- a/alloc/tests/boxed.rs +++ b/alloc/tests/boxed.rs @@ -59,6 +59,7 @@ fn box_deref_lval() { assert_eq!(x.get(), 1000); } +#[allow(unused)] pub struct ConstAllocator; unsafe impl Allocator for ConstAllocator {