summaryrefslogtreecommitdiff
path: root/library/alloc/src/boxed.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-30 23:23:40 +0000
committerbors <bors@rust-lang.org>2024-09-30 23:23:40 +0000
commitc87004a1f5be671e3f03f69fb13d8915bdbb6a52 (patch)
tree2d86795a8614bdfb1d64a2f3281d61669dad0d5a /library/alloc/src/boxed.rs
parentfb4aebddd18d258046ddb51fd41589295259a0fa (diff)
parenta0637597b4fd169118bc794363474ef4d5d06e1d (diff)
Auto merge of #131078 - tgross35:rollup-66to2u9, r=tgross35
Rollup of 5 pull requests Successful merges: - #129638 (Hook up std::net to wasi-libc on wasm32-wasip2 target) - #130877 (rustc_target: Add RISC-V atomic-related features) - #130914 (Mark some more types as having insignificant dtor) - #130961 (Enable `f16` tests on x86 Apple platforms) - #130966 (make ptr metadata functions callable from stable const fn) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'library/alloc/src/boxed.rs')
-rw-r--r--library/alloc/src/boxed.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/boxed.rs b/library/alloc/src/boxed.rs
index 6421504b896..5f207295683 100644
--- a/library/alloc/src/boxed.rs
+++ b/library/alloc/src/boxed.rs
@@ -228,6 +228,7 @@ mod thin;
#[lang = "owned_box"]
#[fundamental]
#[stable(feature = "rust1", since = "1.0.0")]
+#[rustc_insignificant_dtor]
// The declaration of the `Box` struct must be kept in sync with the
// compiler or ICEs will happen.
pub struct Box<