mirror of
https://github.com/rust-lang/rust.git
synced 2025-12-12 10:42:00 +00:00
Fix memory leak in test "mem::uninit_write_slice_cloned_no_drop" This fixes #80116. I replaced the `Rc` based method I was using with a type that panics when dropped.