about summary refs log tree commit diff
path: root/library/alloc/tests/vec.rs
AgeCommit message (Expand)AuthorLines
2021-09-30implement advance_(back_)_by on more iteratorsThe8472-0/+18
2021-08-07Use assert_matches! instead of if let {} elseKornel-113/+103
2021-07-24Hide allocator details from TryReserveErrorKornel-33/+76
2021-06-18Lint for unused borrows as part of UNUSED_MUST_USEhi-rustin-5/+5
2021-06-02Update expressions where we can use array's IntoIterator implementationMuhammad Mominul Huque-5/+5
2021-05-24Make Vec::dedup panicking test actually detect double panicsGiacomo Stevanato-23/+25
2021-05-19from review: more robust testthe8472-2/+2
2021-05-19add regression testThe8472-0/+12
2021-05-19remove InPlaceIterable marker from Peekable due to unsoundnessThe8472-1/+0
2021-04-04Rollup merge of #83827 - the8472:fix-inplace-panic-on-drop, r=RalfJungDylan DPC-1/+10
2021-04-04Rollup merge of #81619 - SkiFire13:resultshunt-inplace, r=the8472Dylan DPC-2/+2
2021-04-04suggestion from reviewthe8472-1/+1
2021-04-04cleanup leak after test to make miri happyThe8472-1/+10
2021-03-29add testcase for double-drop during Vec in-place collectionThe8472-1/+37
2021-03-16Vec::dedup optimization - add benchesSoveu-1/+1
2021-03-15Merge branch 'master' into dedupSoveu-0/+45
2021-03-15Vec::dedup optimization - add test for panicSoveu-0/+54
2021-03-15Vec::dedup optimization - add testsSoveu-0/+73
2021-03-04Add regression test for `Vec::extend_from_within` leakWaffle-0/+42
2021-03-03Add test that Vec::spare_capacity_mut doesn't invalidate pointersWaffle-0/+4
2021-02-13Added tests to drain an empty vecHanif Bin Ariffin-0/+11
2021-02-11Auto merge of #81126 - oxalica:retain-early-drop, r=m-ou-sebors-0/+61
2021-02-03Update test to collect item with a different type than the original vecGiacomo Stevanato-1/+1
2021-02-01Move testGiacomo Stevanato-2/+2
2021-01-31add `Vec::extend_from_within` methodWaffle-0/+70
2021-01-24Simplify and fix testsoxalica-51/+40
2021-01-18Optimize Vec::retainoxalica-0/+72
2020-11-26Fix new 'unnecessary trailing semicolon' warningsAaron Hill-3/+3
2020-10-17Move vec swap testAlexis Bourget-1/+13
2020-10-17Move vec-macro-repeat testAlexis Bourget-0/+13
2020-10-17Move zero-sized-vec-push testAlexis Bourget-0/+17
2020-10-07Auto merge of #74194 - mbrubeck:slice-eq, r=sfacklerbors-1/+2
2020-09-21Move vec-cycle-wrapped testAlexis Bourget-0/+41
2020-09-21Move vec-cycle testAlexis Bourget-0/+39
2020-09-19Use `T::BITS` instead of `size_of::<T> * 8`.Mara Bos-1/+1
2020-09-16Rollup merge of #76662 - RalfJung:lib-test-miri, r=Mark-SimulacrumRalf Jung-1/+1
2020-09-16Rollup merge of #75146 - tmiasko:range-overflow, r=Mark-SimulacrumDylan DPC-0/+25
2020-09-15fix slice::check_range aliasing problemsRalf Jung-1/+1
2020-09-15reduce size of test_from_iter_specialization_with_iterator_adapters test in MiriRalf Jung-1/+1
2020-09-15Auto merge of #76682 - richkadel:vec-take, r=Mark-Simulacrumbors-0/+14
2020-09-13Optimize behavior of vec.split_off(0) (take all)Rich Kadel-0/+14
2020-09-13note that test_stable_pointers does not reflect a stable guaranteeRalf Jung-0/+3
2020-09-07Rollup merge of #76324 - ayushmishra2005:move_vec_tests_in_library, r=matkladDylan DPC-0/+23
2020-09-07Rollup merge of #76273 - CraftSpider:master, r=matkladDylan DPC-0/+56
2020-09-04Move Vec slice UI tests in libraryAyush Kumar Mishra-0/+23
2020-09-04Add tests for overflow in Vec::drainTomasz Miąsko-0/+25
2020-09-03Remove vec-to_str.rs, merge the remaining test in with vecRune Tynan-0/+3
2020-09-03remove empty Vec extend optimizationThe8472-10/+0
2020-09-03support in-place collect for MapWhile adaptersThe8472-0/+1
2020-09-03generalize in-place collect to types of same size and alignmentThe8472-2/+3