Skip to content

Commit cd554e2

Browse files
authored
Rollup merge of rust-lang#129544 - mu001999-contrib:dead-code/clean, r=compiler-errors
Removes dead code from the compiler Detected by rust-lang#128637
2 parents ff769ee + d9e489b commit cd554e2

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)