diff options
| author | mu001999 <mu001999@outlook.com> | 2024-08-08 08:17:55 +0800 |
|---|---|---|
| committer | mu001999 <mu001999@outlook.com> | 2024-08-25 13:41:39 +0800 |
| commit | e7f11b6913eb1549847be2173a20d08f3cbf46ff (patch) | |
| tree | 0b7f4832d9abe937b22502b75a9317465a560ad2 /library/alloc/tests | |
| parent | f167efad2f51088d86180ee89177b3d7c9e7c2f5 (diff) | |
| download | rust-e7f11b6913eb1549847be2173a20d08f3cbf46ff.tar.gz rust-e7f11b6913eb1549847be2173a20d08f3cbf46ff.zip | |
Removes dead code from the compiler
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/boxed.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/tests/boxed.rs b/library/alloc/tests/boxed.rs index faee64b2f67..bfc31a626fa 100644 --- a/library/alloc/tests/boxed.rs +++ b/library/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 { |
