about summary refs log tree commit diff
path: root/src/liballoc/tests/vec_deque.rs
AgeCommit message (Collapse)AuthorLines
2020-07-27mv std libs to library/mark-1646/+0
2020-04-23liballoc: more compact way to adjust test sizes for MiriRalf Jung-8/+6
2020-04-09Disable try_reserve tests on AndroidAmanieu d'Antras-0/+2
2020-04-05Stop importing integer modules in liballocLinus Färnstrand-1/+0
2020-01-19FormatJonas Schievink-2/+3
2020-01-19Fix leak in VecDeque::drain when drop panicsJonas Schievink-0/+38
2020-01-19Fix `VecDeque::truncate` leak on drop panicJonas Schievink-1/+34
2019-12-11VecDeque: drop remaining items on destructor panicJonas Schievink-0/+34
2019-12-07liballoc: ignore tests in Miri instead of removing them entirelyRalf Jung-2/+2
2019-11-29Format liballoc with rustfmtDavid Tolnay-83/+83
2019-08-16Add the Layout of the failed allocation to TryReserveError::AllocErrorSimon Sapin-6/+6
… and add a separately-unstable field to force non-exhaustive matching (`#[non_exhaustive]` is no implemented yet on enum variants) so that we have the option to later expose the allocator’s error value. CC https://github.com/rust-lang/wg-allocators/issues/23
2019-08-16Rename CollectionAllocError to TryReserveErrorSimon Sapin-1/+1
2019-08-02Remove some more `cfg(test)`sVadim Petrochenkov-1/+0
2019-03-10we can now skip should_panic tests with the libtest harnessRalf Jung-1/+0
2019-02-22Rollup merge of #58064 - llogiq:vec-deque-try-rfold, r=scottmcmMazdak Farrokhzad-0/+64
override `VecDeque::try_rfold`, also update iterator This keeps the slice based iteration and updates the iterator state after each slice. It also uses a loop to reduce the amount of code. This uses unsafe code, so some thorough review would be appreciated. Cc @RalfJung
2019-02-18override `VecDeque::try_rfold`, also update iteratorAndre Bogus-0/+64
This keeps the slice based iteration and updates the iterator state after each slice. It also uses a loop to reduce the amount of code. This uses unsafe code, so some thorough review would be appreciated.
2019-02-13review failures in btree, stringRalf Jung-1/+3
2019-02-13review failures in binary_heap, str, vec_dequeRalf Jung-7/+4
2019-02-09Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-SimulacrumMazdak Farrokhzad-0/+7
libcore, liballoc: disable tests in Miri I am going to run the libcore and liballoc unit test suites in Miri. Not all tests pass. This PR disables a whole bunch of tests when running in Miri, to get us to a baseline from which I can investigate failures. Cc @SimonSapin @alexcrichton
2019-02-07disable tests in MiriRalf Jung-0/+7
2019-02-03liballoc: revert nested imports style changes.Mazdak Farrokhzad-9/+5
2019-02-02liballoc: elide some lifetimes.Mazdak Farrokhzad-1/+1
2019-02-02liballoc: apply uniform_paths.Mazdak Farrokhzad-2/+2
2019-02-02liballoc: refactor & fix some imports.Mazdak Farrokhzad-8/+13
2019-01-30override `VecDeque`'s `Iter::try_fold`Andre Bogus-0/+37
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-19Add more VecDeque::rotate_{left|right} testsScott McMurray-0/+134
2018-12-04Replace usages of `..i + 1` ranges with `..=i`.Corey Farwell-4/+4
2018-08-15Test VecDeque append not dropping twicePazzaz-0/+25
2018-07-22Simplify vecdeque append testPazzaz-42/+64
2018-07-19Non-naive implementation for `VecDeque.append`Pazzaz-0/+54
2018-04-12Remove the now-unit-struct AllocErr field inside CollectionAllocErrSimon Sapin-6/+6
2018-04-03Remove all unstable placement featuresAidan Hobson Sayers-22/+0
Closes #22181, #27779
2018-03-15setting ABORTING_MALLOC for asmjs backendsnf-7/+1
2018-03-14try_reserve: disabling tests for asmjs, blocked by #48968snf-1/+7
2018-03-14implementing fallible allocation API (try_reserve) for Vec, String and HashMapsnf-0/+208
2017-07-01Delete deprecated & unstable range-specific `step_by`Scott McMurray-2/+1
Replacement: 41439 Deprecation: 42310 for 1.19 Fixes 41477
2017-06-13Merge crate `collections` into `alloc`Murarth-0/+1025