Skip to content

Commit

Permalink
Rollup merge of rust-lang#129544 - mu001999-contrib:dead-code/clean, …
Browse files Browse the repository at this point in the history
…r=compiler-errors

Removes dead code from the compiler

Detected by rust-lang#128637
  • Loading branch information
matthiaskrgr authored Aug 25, 2024
2 parents ff769ee + d9e489b commit cd554e2
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 cd554e2

Please sign in to comment.