about summary refs log tree commit diff
path: root/library/alloc/tests/boxed.rs
AgeCommit message (Collapse)AuthorLines
2025-03-07Move all alloc integration tests to a new alloctests cratebjorn3-258/+0
2024-11-27update cfgsBoxy-1/+1
2024-10-29Auto merge of #132231 - lukas-code:rc-plug-leaks, r=tgross35bors-0/+38
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-28New lint: `dangling_pointers_from_temporaries`Pavel Grigorenko-0/+1
2024-10-27add test for panicking drop in Box/Rc/ArcLukas Markeffsky-0/+38
2024-08-25Removes dead code from the compilermu001999-0/+1
2024-07-31PinCoerceUnsized trait into coreXiangfei Ding-0/+37
2023-04-16rm const traits in libcoreDeadbeef-1/+1
2023-03-28Remove ~const from allocJubilee Young-15/+0
2022-11-23Add `#![deny(unsafe_op_in_unsafe_fn)]` in liballoc testsThom Chiovoloni-6/+35
2022-03-10Revert accidental stabilizationOli Scherer-1/+1
2021-12-23Constify `Box<T, A>` methodswoppopo-3/+111
2021-12-14Fix a bunch of typosFrank Steffahn-1/+1
2021-08-24Fix grammarest31-4/+4
2020-09-25review: fix nits and move panic safety tests to the correct placeAlexis Bourget-2/+1
2020-09-21Move deref-lval testAlexis Bourget-0/+9
2020-08-02fix typosliuzhenyu-1/+1
2020-07-27mv std libs to library/mark-0/+51