mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-16 01:06:39 +00:00

Use a single static for all default slice Arcs. Also adds debug_asserts in Drop for Weak/Arc that the shared static is not being "dropped"/"deallocated". As per https://github.com/rust-lang/rust/pull/124640#pullrequestreview-2064962003 r? dtolnay