Skip to content

Commit

Permalink
Removes dead code from the compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
mu001999 committed Aug 25, 2024
1 parent 0803686 commit d9e489b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions alloc/tests/boxed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ fn box_deref_lval() {
assert_eq!(x.get(), 1000);
}

#[allow(unused)]
pub struct ConstAllocator;

unsafe impl Allocator for ConstAllocator {
Expand Down

0 comments on commit d9e489b

Please sign in to comment.