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 apply fmt 2024-01-11 15:04:48 +03:00
borrow.rs remove redundant imports 2023-12-10 10:56:22 +08:00
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 Reformat use declarations. 2024-07-29 08:26:52 +10:00
c_str.rs Remove use of reverted std::ffi::c_char 2022-04-27 14:01:04 -07:00
const_fns.rs fix library and rustdoc tests 2023-04-16 11:38:52 +00:00
cow_str.rs
fmt.rs Update tests for hidden references to mutable static 2024-09-13 14:10:56 +03:00
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 Classify BinaryHeap & LinkedList unit tests as such 2022-03-11 11:33:59 +01:00
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 ignore some vtable/fn ptr equality tests in Miri, their result is not fully predictable 2024-08-12 10:39:11 +02:00
thin_box.rs Make use of pointer::is_aligned[_to] 2022-08-21 15:46:03 +04:00
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