about summary refs log tree commit diff
path: root/library/alloc/tests
AgeCommit message (Expand)AuthorLines
2023-04-02Auto merge of #109701 - Amanieu:binaryheap_retain, r=ChrisDentonbors-1/+0
2023-03-30Auto merge of #105587 - tgross35:once-cell-min, r=m-ou-sebors-1/+0
2023-03-29Stabilize a portion of 'once_cell'Trevor Gross-1/+0
2023-03-29Rollup merge of #109693 - workingjubilee:maybe-unconstify-alloc, r=fee1-deadMatthias Krüger-16/+0
2023-03-28Remove ~const from allocJubilee Young-16/+0
2023-03-28Stabilize `binary_heap_retain`Amanieu d'Antras-1/+0
2023-03-28Rollup merge of #92284 - the8472:simplify-advance-by, r=scottmcmnils-10/+35
2023-03-27fix advance_by impl for vec_deque and add testsThe 8472-0/+23
2023-03-27replace advance_by returning usize with Result<(), NonZeroUsize>The 8472-9/+10
2023-03-27Change advance(_back)_by to return `usize` instead of `Result<(), usize>`The 8472-10/+11
2023-03-27Rollup merge of #97506 - JohnTitor:stabilize-nonnull-slice-from-raw-parts, r=...Matthias Krüger-2/+1
2023-03-23Rollup merge of #100311 - xfix:lines-fix-handling-of-bare-cr, r=ChrisDentonDylan DPC-7/+19
2023-02-25Add test for VecDeque::append ZST capacity overflowpommicket-0/+14
2023-01-17refactor[alloc]: remove unused box syntax featurejoboet-1/+0
2023-01-14Remove various double spaces in source comments.André Vennberg-1/+1
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-348/+1
2022-12-30Replace libstd, libcore, liballoc in line comments.jonathanCogan-1/+1
2022-12-24add lib tests for vec::IntoIter alignment issuesRalf Jung-2/+27
2022-12-08Apply review feedback; Fix no_global_oom_handling buildScott McMurray-3/+13
2022-12-08Make `VecDeque::from_iter` O(1) from `vec(_deque)::IntoIter`Scott McMurray-0/+26
2022-11-28Auto merge of #102991 - Sp00ph:master, r=scottmcmbors-6/+7
2022-11-23Add `#![deny(unsafe_op_in_unsafe_fn)]` in liballoc testsThom Chiovoloni-7/+38
2022-11-22Rollup merge of #104647 - RalfJung:alloc-strict-provenance, r=thomccManish Goregaokar-6/+8
2022-11-22add test for issue 104726The 8472-0/+12
2022-11-20enable fuzzy_provenance_casts lint in liballocRalf Jung-6/+8
2022-11-20Update VecDeque implementationMarkus Everling-6/+7
2022-11-20Rollup merge of #104435 - scottmcm:iter-repeat-n, r=thomccYuki Okushi-0/+8
2022-11-18Remove Vec/Rc storage reuse optclubby789-30/+0
2022-11-17Auto merge of #104205 - clubby789:grow-rc, r=thomccbors-0/+30
2022-11-15generalize str.contains() tests to a range of haystack sizesThe 8472-5/+21
2022-11-15`VecDeque::resize` should re-use the buffer in the passed-in elementScott McMurray-0/+8
2022-11-14Add `Vec` storage optimization to `Arc` and add testsclubby789-0/+30
2022-10-06Fix handling of trailing bare CR in str::linesKonrad Borowski-7/+19
2022-10-05Add regression test for lifetimes in alloc internals autotraitsDavid Tolnay-0/+297
2022-10-04Rollup merge of #101642 - SkiFire13:fix-inplace-collection-leak, r=the8472Dylan DPC-30/+35
2022-09-29Stabilize `nonnull_slice_from_raw_parts`Yuki Okushi-2/+1
2022-09-28Rollup merge of #102232 - Urgau:stabilize-bench_black_box, r=TaKO8KiYuki Okushi-1/+0
2022-09-27Stabilize bench_black_boxUrgau-1/+0
2022-09-23Stabilize const `BTree{Map,Set}::new`Nilstrieb-1/+1
2022-09-10Update testGiacomo Stevanato-33/+34
2022-09-10Adapt inplace collection leak test to check for no leaksGiacomo Stevanato-16/+20
2022-08-31fix into_iter on ZSTRalf Jung-0/+6
2022-08-30Rollup merge of #95376 - WaffleLapkin:drain_keep_rest, r=dtolnayDylan DPC-0/+60
2022-08-22Rollup merge of #100820 - WaffleLapkin:use_ptr_is_aligned_methods, r=scottmcmDylan DPC-4/+5
2022-08-22Rollup merge of #99386 - AngelicosPhosphoros:add_retain_test_maybeuninit, r=J...Dylan DPC-0/+45
2022-08-21Make use of `pointer::is_aligned[_to]`Maybe Waffle-4/+5
2022-08-21Replace most uses of `pointer::offset` with `add` and `sub`Maybe Waffle-5/+5
2022-07-27Auto merge of #98553 - the8472:next_chunk_opt, r=Mark-Simulacrumbors-0/+11
2022-07-26add test for vec::IntoIter::next_chunk() implThe 8472-0/+11
2022-07-17Add tests that check `Vec::retain` predicate execution order.AngelicosPhosphoros-0/+45