rust/library/alloc/tests
bors e473783d90 Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross35
Rc/Arc: don't leak the allocation if drop panics

Currently, when the last `Rc<T>` or `Arc<T>` is dropped and the destructor of `T` panics, the allocation will be leaked. This leak is unnecessary since the data cannot be (safely) accessed again and `Box` already deallocates in this case, so let's do the same for `Rc` and `Arc`, too.
2024-10-29 16:26:00 +00:00
..
sort Port sort-research-rs test suite Rust stdlib tests 2024-09-30 15:05:30 +02:00
arc.rs add test for panicking drop in Box/Rc/Arc 2024-10-27 18:32:36 +01:00
autotraits.rs
borrow.rs
boxed.rs Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross35 2024-10-29 16:26:00 +00:00
btree_set_hash.rs
c_str.rs
const_fns.rs
cow_str.rs
fmt.rs
heap.rs
lib.rs move strict provenance lints to new feature gate, remove old feature gates 2024-10-21 15:22:17 +01:00
linked_list.rs
rc.rs add test for panicking drop in Box/Rc/Arc 2024-10-27 18:32:36 +01:00
slice.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
str.rs Improve autovectorization of to_lowercase / to_uppercase functions 2024-09-23 11:31:29 +02:00
string.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
task.rs
thin_box.rs
vec_deque_alloc_error.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec_deque.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
vec.rs update bootstrap configs 2024-10-15 20:30:23 -07:00