Skip to content

Commit d9e489b

Browse files
committed
Removes dead code from the compiler
1 parent 0803686 commit d9e489b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: alloc/tests/boxed.rs

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ fn box_deref_lval() {
5959
assert_eq!(x.get(), 1000);
6060
}
6161

62+
#[allow(unused)]
6263
pub struct ConstAllocator;
6364

6465
unsafe impl Allocator for ConstAllocator {

0 commit comments

Comments
 (0)