about summary refs log tree commit diff
path: root/library/alloc/tests/rc.rs
AgeCommit message (Collapse)AuthorLines
2025-03-07Move all alloc integration tests to a new alloctests cratebjorn3-259/+0
2025-03-06library: Use size_of from the prelude instead of importedThalia Archibald-3/+2
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the prelude instead of importing or qualifying them. These functions were added to all preludes in Rust 1.80.
2024-10-27add test for panicking drop in Box/Rc/ArcLukas Markeffsky-1/+37
2024-07-31PinCoerceUnsized trait into coreXiangfei Ding-0/+17
2023-12-10remove redundant importssurechen-1/+0
detects redundant imports that can be eliminated. for #117772 : In order to facilitate review and modification, split the checking code and removing redundant imports code into two PR.
2022-11-18Remove Vec/Rc storage reuse optclubby789-15/+0
2022-11-14Add `Vec` storage optimization to `Arc` and add testsclubby789-0/+15
2021-05-20Add Weak may_dangle testsDavid Tolnay-0/+15
2020-07-27mv std libs to library/mark-0/+193