| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2019-04-05 | Introduce an arena type which may be used to allocate a list of types with ↵ | John Kåre Alsaker | -7/+6 | |
| destructors | ||||
| 2019-02-10 | rustc: doc comments | Alexander Regueiro | -2/+2 | |
| 2019-02-05 | move librustc to 2018 | Mark Mansi | -8/+8 | |
| 2019-01-04 | implement a hack to make traitobject 0.1.0 compile | Ariel Ben-Yehuda | -5/+39 | |
| 2019-01-04 | Revert "add coherence future-compat warnings for marker-only trait objects" | Ariel Ben-Yehuda | -41/+3 | |
| This reverts commit 760639635facb6c9a0926ac9278bcba71880b0b3. | ||||
| 2019-01-02 | try to detect affected code and direct people to #56105 | Niko Matsakis | -0/+1 | |
| 2018-12-25 | Remove licenses | Mark Rousskov | -10/+0 | |
| 2018-12-18 | Auto merge of #56481 - arielb1:dynamic-order, r=nikomatsakis | bors | -3/+41 | |
| add coherence future-compat warnings for marker-only trait objects The future-compat warnings break code that assumes that `dyn Send + Sync != dyn Sync + Send`, and are the first step in making them equal. cc #33140. Note: this lint should be made to default-warn before we merge. It is deny only for the crater run. r? @nikomatsakis / @scalexm . cc @Centril & @alexreg. | ||||
| 2018-12-14 | add coherence future-compat warnings for marker-only trait objects | Ariel Ben-Yehuda | -3/+41 | |
| The future-compat warnings break code that assumes that `dyn Send + Sync != dyn Sync + Send`, and are the first step in making them equal. cc #33140. It should be possible to revert this commit when we're done with the warnings. | ||||
| 2018-12-12 | specialize: remove Boxes used by Children::insert | ljedrz | -8/+33 | |
| 2018-12-07 | Various minor/cosmetic improvements to code | Alexander Regueiro | -13/+14 | |
| 2018-11-15 | Auto merge of #54906 - qnighy:fix-issue-50452, r=nikomatsakis | bors | -8/+19 | |
| Reattach all grandchildren when constructing specialization graph. Specialization graphs are constructed by incrementally adding impls in the order of declaration. If the impl being added has its specializations in the graph already, they should be reattached under the impl. However, the current implementation only reattaches the one found first. Therefore, in the following specialization graph, ``` Tr1 | I3 / \ I1 I2 ``` If `I1`, `I2`, and `I3` are declared in this order, the compiler mistakenly constructs the following graph: ``` Tr1 / \ I3 I2 | I1 ``` This patch fixes the reattach procedure to include all specializing grandchildren-to-be. Fixes #50452. | ||||
| 2018-11-12 | Avoid the Box in `TyCtxt::associated_items`. | Niko Matsakis | -1/+1 | |
| This reduces instruction counts on packed_simd by 2%. | ||||
| 2018-10-08 | Reattach all grandchildren when constructing specialization graph. | Masaki Hara | -8/+19 | |
| This commit fixes the issue #50452. | ||||
| 2018-09-29 | don't elide lifetimes in paths in librustc/ | Zack M. Davis | -2/+2 | |
| This seemed like a good way to kick the tires on the elided-lifetimes-in-paths lint (#52069)—seems to work! This was also pretty tedious—it sure would be nice if `cargo fix` worked on this codebase (#53896)! | ||||
| 2018-09-18 | A few cleanups and minor improvements to rustc/traits | ljedrz | -4/+5 | |
| 2018-08-18 | Use the new Entry::or_default method where possible. | Eduard-Mihai Burtescu | -16/+8 | |
| 2018-07-28 | Auto merge of #52546 - nikomatsakis:issue-52050, r=pnkfelix | bors | -21/+78 | |
| do not overwrite child def-id in place but rather remove/insert When inserting a node N into the tree of impls, we sometimes find than an existing node C should be replaced with N. We used to overwrite C in place with the new def-id N -- but since the lists of def-ids are separated by simplified type, that could lead to N being inserted in the wrong place. This meant we might miss conflicts. We are now not trying to be so smart -- we remove C and then add N later. Fixes #52050 r? @aturon -- do you still remember this code at all? :) | ||||
| 2018-07-25 | Add type system canaries for potential future bugs | Oliver Schneider | -1/+5 | |
| 2018-07-23 | Implement associated existential types | Oliver Schneider | -3/+9 | |
| 2018-07-21 | do not overwrite child def-id in place but rather remove/insert | Niko Matsakis | -21/+78 | |
| When inserting a node N into the tree of impls, we sometimes find than an existing node C should be replaced with N. We used to overwrite C in place with the new def-id N -- but since the lists of def-ids are separated by simplified type, that could lead to N being inserted in the wrong place. This meant we might miss conflicts. We are now not trying to be so smart -- we remove C and then add N later. | ||||
| 2018-06-28 | Use `Ident`s for associated item definitions in HIR | Vadim Petrochenkov | -3/+3 | |
| Remove emulation of hygiene with gensyms | ||||
| 2018-06-28 | Use `Ident`s for associated type bindings in HIR | Vadim Petrochenkov | -1/+1 | |
| 2018-03-21 | work around fallout from these changes in rustc | Niko Matsakis | -6/+12 | |
| 2018-03-14 | Cache the specialization_graph query | Wesley Wiser | -0/+2 | |
| Fixes #48987 | ||||
| 2018-03-08 | Add InterpretInterner to StableHashingContext for AllocId serialization | Oliver Schneider | -2/+2 | |
| 2018-03-02 | Run Rustfix on librustc | Manish Goregaokar | -2/+2 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -2/+2 | |
| 2018-01-30 | change `overlapping_impls` to take a tcx and create the infcx | Niko Matsakis | -33/+29 | |
| 2018-01-30 | make `overlapping_impls` call closures instead of returning | Niko Matsakis | -25/+26 | |
| 2017-12-05 | convert the new conflicts to a soft error | Ariel Ben-Yehuda | -23/+45 | |
| 2017-10-06 | Improve resolution of associated types in macros 2.0 | Vadim Petrochenkov | -3/+6 | |
| 2017-09-18 | incr.comp.: Remove tcx from StableHashingContext. | Michael Woerister | -2/+2 | |
| 2017-09-18 | incr.comp.: Use StableHash impls instead of functions for hashing most maps. | Michael Woerister | -17/+4 | |
| 2017-09-18 | incr.comp.: Compute hashes of all query results. | Michael Woerister | -0/+34 | |
| 2017-09-05 | Add hints when intercrate ambiguity causes overlap. | Masaki Hara | -3/+4 | |
| 2017-08-29 | rustc: Remove `specailization_cache` in favor of a query | Alex Crichton | -3/+3 | |
| This commit removes the `specialization_cache` field of `TyCtxt` by moving it to a dedicated query, which it turned out was already quite easily structured to do so! | ||||
| 2017-08-12 | Fix some typos | Bastien Orivel | -2/+2 | |
| 2017-08-11 | Fix some typos | Bastien Orivel | -1/+1 | |
| 2017-06-10 | rustc: make the comon case of tcx.infer_ctxt(()) nicer. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-06-01 | strip param-env from infcx | Niko Matsakis | -2/+2 | |
| 2017-06-01 | move projection mode into parameter environment | Niko Matsakis | -1/+1 | |
| 2017-05-15 | Remove interior mutability from TraitDef by turning fields into queries. | Michael Woerister | -9/+16 | |
| 2017-04-14 | Further update with response to feedback | Sean Griffin | -3/+2 | |
| 2017-04-14 | Implement RFC 1268 | Sean Griffin | -0/+5 | |
| This patch allows overlap to occur between any two impls of a trait for traits which have no associated items. Several compile-fail tests around coherence had to be changed to add at least one item to the trait they test against. Ref #29864 | ||||
| 2017-02-25 | rustc_typeck: rework coherence to be almost completely on-demand. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-01-06 | rustc: keep track of tables everywhere as if they were per-body. | Eduard-Mihai Burtescu | -1/+1 | |
| 2016-11-29 | rustc: remove type information from TraitDef. | Eduard-Mihai Burtescu | -8/+6 | |
| 2016-11-10 | rustc: unify and simplify managing associated items. | Eduard Burtescu | -128/+14 | |
| 2016-11-08 | Replace FnvHasher use with FxHasher. | Nicholas Nethercote | -3/+3 | |
| This speeds up compilation by 3--6% across most of rustc-benchmarks. | ||||
