| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-08-16 | Add the Layout of the failed allocation to TryReserveError::AllocError | Simon Sapin | -20/+20 | |
| … 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-16 | Rename CollectionAllocError to TryReserveError | Simon Sapin | -3/+3 | |
| 2019-08-10 | Rollup merge of #63350 - iluuu1994:use-associated-type-bounds, r=Centril | Mazdak Farrokhzad | -4/+7 | |
| Use associated_type_bounds where applicable - closes #61738 | ||||
| 2019-08-09 | Rollup merge of #63407 - RalfJung:miri-test-sizes, r=Centril | Mazdak Farrokhzad | -0/+27 | |
| reduce some test sizes in Miri | ||||
| 2019-08-09 | reduce some test sizes in Miri | Ralf Jung | -0/+27 | |
| 2019-08-09 | Add missing #![feature(associated_type_bounds)] | Ilija Tovilo | -0/+1 | |
| 2019-08-09 | Merge pull request #1 from rust-lang/master | Sayan Nandan | -96/+490 | |
| Merge recent changes into master | ||||
| 2019-08-09 | Improve tests for liballoc/btree/set | Sayan Nandan | -2/+2 | |
| 2019-08-08 | Use associated_type_bounds where applicable - closes #61738 | Ilija Tovilo | -4/+6 | |
| 2019-08-02 | Remove some more `cfg(test)`s | Vadim Petrochenkov | -3/+0 | |
| 2019-07-29 | comments from @lzutao | Maximilian Roos | -1/+1 | |
| 2019-07-29 | impl Debug for Chars | Maximilian Roos | -0/+10 | |
| 2019-07-28 | Remove lint annotations in specific crates that are already enforced by ↵ | Vadim Petrochenkov | -1/+0 | |
| rustbuild Remove some random unnecessary lint `allow`s | ||||
| 2019-07-13 | Auto merge of #61953 - Centril:shared-from-iter, r=RalfJung | bors | -0/+240 | |
| Add `impl<T> FromIterator<T> for Arc/Rc<[T]>` Add implementations of `FromIterator<T> for Arc/Rc<[T]>` with symmetrical logic. This also takes advantage of specialization in the case of iterators with known length (`TrustedLen`) to elide the final allocation/copying from a `Vec<T>` into `Rc<[T]>` because we can allocate the space for the `Rc<[T]>` directly when the size is known. This is the primary motivation and why this is to be preferred over `iter.collect::<Vec<_>>().into(): Rc<[T]>`. Moreover, this PR does some refactoring in some places. r? @RalfJung for the code cc @alexcrichton from T-libs | ||||
| 2019-07-08 | Auto merge of #61224 - aloucks:drain_filter, r=Gankro | bors | -0/+109 | |
| Prevent Vec::drain_filter from double dropping on panic Fixes: #60977 The changes in this PR prevent leaking and double-panicking in addition to double-drop. Tracking issue: #43244 | ||||
| 2019-07-06 | Rollup merge of #62296 - RalfJung:memalign, r=alexcrichton | Mazdak Farrokhzad | -15/+17 | |
| request at least ptr-size alignment from posix_memalign Fixes https://github.com/rust-lang/rust/issues/62251 | ||||
| 2019-07-03 | enable a few more tests in Miri and update the comment for others | Ralf Jung | -1/+0 | |
| 2019-07-02 | test more possible overaligned requests | Ralf Jung | -15/+17 | |
| 2019-06-21 | shared_from_iter: Polish internal docs. | Mazdak Farrokhzad | -0/+2 | |
| 2019-06-21 | shared_from_iter: Add more tests. | Mazdak Farrokhzad | -0/+238 | |
| 2019-05-27 | Disable drain_filter tests that require catch_unwind on miri | Aaron Loucks | -0/+2 | |
| 2019-05-27 | Add drain_filter_unconsumed test | Aaron Loucks | -0/+8 | |
| 2019-05-26 | Prevent Vec::drain_filter from double dropping on panic | Aaron Loucks | -0/+99 | |
| Fixes: #60977 | ||||
| 2019-05-25 | add test checking that Vec push/pop does not invalidate pointers | Ralf Jung | -0/+21 | |
| 2019-05-23 | fix dangling reference in Vec::append | Ralf Jung | -2/+3 | |
| 2019-05-19 | Rollup merge of #60931 - cuviper:array-iter, r=KodrAus | Mazdak Farrokhzad | -2/+2 | |
| Use iter() for iterating arrays by slice These `into_iter()` calls will change from iterating references to values if we ever get `IntoIterator` for arrays, which may break the code using that iterator. Calling `iter()` is future proof. | ||||
| 2019-05-17 | Use iter() for iterating arrays by slice | Josh Stone | -2/+2 | |
| These `into_iter()` calls will change from iterating references to values if we ever get `IntoIterator` for arrays, which may break the code using that iterator. Calling `iter()` is future proof. | ||||
| 2019-05-09 | make vecdeque_rotate stable | Dodo | -1/+0 | |
| 2019-04-20 | Deny rust_2018_idioms in liballoc tests | Philipp Hansch | -14/+15 | |
| 2019-04-17 | test sort_unstable in Miri | Ralf Jung | -3/+3 | |
| 2019-04-16 | Miri now supports entropy, but is still slow | Ralf Jung | -7/+16 | |
| 2019-03-29 | improve worst-case performance of BTreeSet difference and intersection | Stein Somers | -0/+61 | |
| 2019-03-16 | Rollup merge of #59206 - sntdevco:master, r=dtolnay | kennytm | -1/+1 | |
| Improved test output | ||||
| 2019-03-15 | Improved test output for liballoc/str | sntdevco | -1/+1 | |
| 2019-03-10 | enabled too many tests | Ralf Jung | -1/+3 | |
| 2019-03-10 | we can now skip should_panic tests with the libtest harness | Ralf Jung | -57/+1 | |
| 2019-02-25 | Remove some unnecessary 'extern crate' | Taiki Endo | -3/+0 | |
| 2019-02-22 | Rollup merge of #58064 - llogiq:vec-deque-try-rfold, r=scottmcm | Mazdak 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-18 | override `VecDeque::try_rfold`, also update iterator | Andre 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-16 | Rollup merge of #58433 - RalfJung:miri-mark-tests, r=TimNN | kennytm | -41/+98 | |
| Update which libcore/liballoc tests Miri ignores, and document why | ||||
| 2019-02-13 | miri: test with slightly larger BTrees | Ralf Jung | -8/+10 | |
| 2019-02-13 | review failures in heap, slice, vec | Ralf Jung | -4/+32 | |
| 2019-02-13 | review failures in btree, string | Ralf Jung | -5/+42 | |
| 2019-02-13 | review failures in binary_heap, str, vec_deque | Ralf Jung | -33/+23 | |
| 2019-02-12 | Stabilize slice_sort_by_cached_key | Scott McMurray | -1/+0 | |
| 2019-02-12 | Auto merge of #58051 - SimonSapin:str_escape, r=alexcrichton | bors | -31/+31 | |
| Stabilize str::escape_* methods with new return types… … that implement `Display` and `Iterator<Item=char>`, as proposed in FCP: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727 | ||||
| 2019-02-12 | Stabilize str::escape_* methods | Simon Sapin | -1/+0 | |
| FCP: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727 | ||||
| 2019-02-12 | New return types for str::escape_* that impl Display and Iterator<char> | Simon Sapin | -30/+31 | |
| As FCP’ed in the tracking issue: https://github.com/rust-lang/rust/issues/27791#issuecomment-376864727 | ||||
| 2019-02-10 | libs: doc comments | Alexander Regueiro | -1/+1 | |
| 2019-02-09 | Rollup merge of #58275 - RalfJung:miri-test-libcore, r=Mark-Simulacrum | Mazdak Farrokhzad | -0/+43 | |
| 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 | ||||
