| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-31 | Auto merge of #49201 - Phlosioneer:add-trivial-size-hints, r=SimonSapin | bors | -0/+18 | |
| Implement some trivial size_hints for various iterators This also implements ExactSizeIterator where applicable. Addresses most of the Iterator traits mentioned in #23708. I intend to do more, but I don't want to make the PR too large. | ||||
| 2018-03-29 | Move RangeArguments to {core::std}::ops and rename to RangeBounds | Simon Sapin | -9/+7 | |
| These unstable items are deprecated: * The `std::collections::range::RangeArgument` reexport * The `std::collections::range` module. | ||||
| 2018-03-29 | Move alloc::Bound to {core,std}::ops | Simon Sapin | -1/+1 | |
| The stable reexport `std::collections::Bound` is now deprecated. Another deprecated reexport could be added in `alloc`, but that crate is unstable. | ||||
| 2018-03-29 | Stabilize underscore lifetimes | Taylor Cramer | -1/+1 | |
| 2018-03-28 | Add try_write to RwLock | John Kåre Alsaker | -0/+12 | |
| 2018-03-26 | Stabilize i128 feature too | Mark Mansi | -2/+1 | |
| 2018-03-26 | Stabilize i128_type | Mark Mansi | -1/+1 | |
| 2018-03-26 | Stabilize conservative_impl_trait | Taylor Cramer | -1/+1 | |
| 2018-03-26 | Stabilize universal_impl_trait | Taylor Cramer | -1/+1 | |
| 2018-03-23 | Rollup merge of #49030 - Zoxc:misc, r=michaelwoerister | Alex Crichton | -30/+15 | |
| Misc changes from my parallel rustc branch r? @michaelwoerister | ||||
| 2018-03-23 | Rollup merge of #48265 - SimonSapin:nonzero, r=KodrAus | Alex Crichton | -3/+3 | |
| Add 12 num::NonZero* types for primitive integers, deprecate core::nonzero RFC: https://github.com/rust-lang/rfcs/pull/2307 Tracking issue: ~~https://github.com/rust-lang/rust/issues/27730~~ https://github.com/rust-lang/rust/issues/49137 Fixes https://github.com/rust-lang/rust/issues/27730 | ||||
| 2018-03-20 | Implement some trivial size_hints for various iterators | Phlosioneer | -0/+18 | |
| This also implements ExactSizeIterator where applicable. Addresses most of the Iterator traits mentioned in #23708. | ||||
| 2018-03-19 | Convert SerializedDepGraph to be a struct-of-arrays | Wesley Wiser | -0/+7 | |
| Fixes #47326 | ||||
| 2018-03-17 | Use num::NonZero* instead of NonZero<_> in rustc and tests | Simon Sapin | -3/+3 | |
| 2018-03-17 | Add OnDrop | John Kåre Alsaker | -0/+8 | |
| 2018-03-17 | Add an Default impl for Lock | John Kåre Alsaker | -0/+7 | |
| 2018-03-17 | Remove rustc_global! | John Kåre Alsaker | -30/+0 | |
| 2018-03-15 | Rollup merge of #48840 - varkor:idxset-cleanup, r=pnkfelix | kennytm | -64/+0 | |
| Remove some unnecessary IdxSet methods This replaces `IdxSet:: reset_to_empty` with `IdxSet:: clear`, and `IdxSet::elems`/`IdxSet::each_bit` with `IdxSet::iter`. Based on some [comments on #rustc](https://botbot.me/mozilla/rustc/2018-01-23/?msg=96063396). r? @pnkfelix | ||||
| 2018-03-13 | add `canonicalize` method to `InferCtxt` [VIC] | Niko Matsakis | -1/+1 | |
| 2018-03-09 | Move PROFQ_CHAN to a Session field | John Kåre Alsaker | -23/+0 | |
| 2018-03-08 | Rollup merge of #48808 - Zoxc:reg-diag, r=michaelwoerister | Manish Goregaokar | -39/+87 | |
| Move REGISTERED_DIAGNOSTICS to a ParseSess field r? @michaelwoerister | ||||
| 2018-03-08 | Rollup merge of #48699 - frewsxcv:frewsxcv-impl-trait, r=nikomatsakis | Manish Goregaokar | -99/+53 | |
| Replace iterator structures with `impl Trait`. Two commits: * Replace iterator structures with `impl Trait`. * Run rustfmt on `src/librustc_data_structures/graph/mod.rs`. | ||||
| 2018-03-08 | Produce instead of pointers | Oliver Schneider | -0/+8 | |
| 2018-03-08 | Add with_lock, with_read_lock and with_write_lock | John Kåre Alsaker | -39/+87 | |
| 2018-03-07 | Run rustfmt on `src/librustc_data_structures/graph/mod.rs`. | Corey Farwell | -24/+29 | |
| 2018-03-07 | Replace iterator structures with `impl Trait`. | Corey Farwell | -77/+26 | |
| 2018-03-07 | Merge branch 'metadata-send-sync' of https://github.com/Zoxc/rust into ↵ | Alex Crichton | -7/+43 | |
| update-cargo | ||||
| 2018-03-07 | Make metadata references Send + Sync | John Kåre Alsaker | -7/+43 | |
| 2018-03-06 | Remove IdxSet::elems | varkor | -26/+0 | |
| 2018-03-06 | Remove IdxSet::each_bit | varkor | -33/+0 | |
| 2018-03-06 | Remove IdxSet::reset_to_empty | varkor | -5/+0 | |
| 2018-03-05 | while let all the things | leonardo.yvens | -7/+1 | |
| 2018-03-04 | Auto merge of #48587 - Zoxc:transitive-relation, r=nikomatsakis | bors | -10/+10 | |
| Make TransitiveRelation thread safe. Avoid locking by using get_mut in some cases r? @nikomatsakis | ||||
| 2018-03-01 | Bump ena | Sean Griffin | -1/+1 | |
| 2018-03-01 | Remove dead code | Sean Griffin | -798/+0 | |
| These modules were replaced with re-exports from ena | ||||
| 2018-03-01 | obtain `UnificationTable` and `snapshot_vec` from `ena` instead | Niko Matsakis | -2/+4 | |
| The ena version has an improved interface. I suspect `librustc_data_structures` should start migrating out to crates.io in general. | ||||
| 2018-02-27 | Make TransitiveRelation thread safe. Avoid locking by using get_mut in some ↵ | John Kåre Alsaker | -10/+10 | |
| cases. | ||||
| 2018-02-24 | Rollup merge of #48402 - eddyb:y-u-no-inline, r=nikomatsakis | Manish Goregaokar | -0/+9 | |
| rustc_data_structures: add missing #[inline]. r? @nikomatsakis | ||||
| 2018-02-22 | Run rustfmt over bitvec.rs and region_infer/values.rs | Santiago Pastorino | -32/+44 | |
| 2018-02-22 | Fix typo otherwies -> otherwise | Santiago Pastorino | -1/+1 | |
| 2018-02-22 | Use Sparse bitsets instead of dense ones for NLL results | Santiago Pastorino | -0/+212 | |
| Fixes #48170 | ||||
| 2018-02-22 | Move word type and word size usage to constants & make it of 128 bits | Santiago Pastorino | -23/+26 | |
| 2018-02-21 | rustc_data_structures: add missing #[inline]. | Eduard-Mihai Burtescu | -0/+9 | |
| 2018-02-18 | Generate documentation for auto-trait impls | Aaron Hill | -0/+5 | |
| A new section is added to both both struct and trait doc pages. On struct/enum pages, a new 'Auto Trait Implementations' section displays any synthetic implementations for auto traits. Currently, this is only done for Send and Sync. On trait pages, a new 'Auto Implementors' section displays all types which automatically implement the trait. Effectively, this is a list of all public types in the standard library. Synthesized impls for a particular auto trait ('synthetic impls') take into account generic bounds. For example, a type 'struct Foo<T>(T)' will have 'impl<T> Send for Foo<T> where T: Send' generated for it. Manual implementations of auto traits are also taken into account. If we have the following types: 'struct Foo<T>(T)' 'struct Wrapper<T>(Foo<T>)' 'unsafe impl<T> Send for Wrapper<T>' // pretend that Wrapper<T> makes this sound somehow Then Wrapper will have the following impl generated: 'impl<T> Send for Wrapper<T>' reflecting the fact that 'T: Send' need not hold for 'Wrapper<T>: Send' to hold Lifetimes, HRTBS, and projections (e.g. '<T as Iterator>::Item') are taken into account by synthetic impls However, if a type can *never* implement a particular auto trait (e.g. 'struct MyStruct<T>(*const T)'), then a negative impl will be generated (in this case, 'impl<T> !Send for MyStruct<T>') All of this means that a user should be able to copy-paste a synthetic impl into their code, without any observable changes in behavior (assuming the rest of the program remains unchanged). | ||||
| 2018-02-17 | fix more typos found by codespell. | Matthias Krüger | -1/+1 | |
| 2018-02-10 | Rollup merge of #47835 - Mark-Simulacrum:remove-data-structs, r=nikomatsakis | kennytm | -412/+0 | |
| Remove unused data structures Cleanup; as far as I can tell the compiler no longer uses these. | ||||
| 2018-01-28 | Remove VecCell | Mark Simulacrum | -48/+0 | |
| 2018-01-28 | Remove unused blake2b implementation | Mark Simulacrum | -364/+0 | |
| 2018-01-26 | Make region inference use a dirty list | Santiago Pastorino | -0/+11 | |
| Fixes #47602 | ||||
| 2018-01-20 | Stabilize std::ptr::NonNull | Simon Sapin | -1/+0 | |
