| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-11-26 | Auto merge of #46203 - nikomatsakis:type-foldable-macro, r=eddyb | bors | -156/+203 | |
| introduce macros for type-foldable and lift, convert stuff to use them A random commit from a branch I've shelved for the time being that made `TypeFoldable` stuff a bit less annoying to write. r? @eddyb | ||||
| 2017-11-25 | Conform names | Shotaro Yamada | -1/+1 | |
| 2017-11-24 | Do match-check before const MIR generation | Shotaro Yamada | -0/+1 | |
| 2017-11-23 | introduce macros for type-foldable, convert stuff to use them | Niko Matsakis | -156/+203 | |
| 2017-11-18 | give better error messages when a cycle arises | Niko Matsakis | -3/+3 | |
| 2017-11-18 | make `ty::Predicate` carry a `ClosureSubsts` | Niko Matsakis | -5/+9 | |
| 2017-11-17 | make LUB/GLB of higher-ranked things actually do EQ | Niko Matsakis | -1/+4 | |
| 2017-10-27 | Implement RFC 1861: Extern types | Paul Lietar | -2/+2 | |
| 2017-09-11 | rustc: evaluate fixed-length array length expressions lazily. | Eduard-Mihai Burtescu | -1/+119 | |
| 2017-09-11 | rustc: use ty::Const for the length of TyArray. | Eduard-Mihai Burtescu | -2/+2 | |
| 2017-09-11 | rustc: introduce ty::Const { ConstVal, Ty }. | Eduard-Mihai Burtescu | -0/+93 | |
| 2017-09-03 | rustc_mir: use Local in ProjectionElem::Index. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-09-01 | rustc: take TyCtxt and RegionMaps in CodeMap::span. | Eduard-Mihai Burtescu | -15/+1 | |
| 2017-08-16 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -1/+1 | |
| 2017-08-15 | use field init shorthand EVERYWHERE | Zack M. Davis | -1/+1 | |
| Like #43008 (f668999), but _much more aggressive_. | ||||
| 2017-08-09 | Initial pass review comments | Alex Crichton | -4/+4 | |
| 2017-08-09 | Merge remote-tracking branch 'origin/master' into gen | Alex Crichton | -14/+10 | |
| 2017-07-29 | Cleanup some remains of `hr_lifetime_in_assoc_type` compatibility lint | Vadim Petrochenkov | -14/+10 | |
| 2017-07-28 | Remove support for `gen arg` | Alex Crichton | -5/+2 | |
| 2017-07-28 | Rename suspend to yield | John Kåre Alsaker | -5/+5 | |
| 2017-07-28 | Fix tidy warnings | Alex Crichton | -9/+14 | |
| 2017-07-28 | Generator literal support | John Kåre Alsaker | -0/+59 | |
| 2017-07-27 | rustc_const_eval: keep track of the appropriate ParamEnv. | Eduard-Mihai Burtescu | -1/+1 | |
| 2017-07-11 | Downgrade ProjectionTy's TraitRef to its substs | Tobias Schottdorf | -18/+17 | |
| Addresses the second part of #42171 by removing the `TraitRef` from `ProjectionTy`, and directly storing its `Substs`. Closes #42171. | ||||
| 2017-07-08 | Implemented `TypeFoldable` for `TypeError`s. | Inokentiy Babushkin | -0/+90 | |
| 2017-07-05 | use field init shorthand in src/librustc | Zack M. Davis | -12/+12 | |
| The field init shorthand syntax was stabilized in 1.17.0 (aebd94f); we are now free to use it in the compiler. | ||||
| 2017-06-27 | rustc: move the PolyFnSig out of TyFnDef. | Eduard-Mihai Burtescu | -7/+3 | |
| 2017-06-01 | strip param-env from infcx | Niko Matsakis | -0/+25 | |
| 2017-06-01 | Auto merge of #42281 - eddyb:well-adjusted, r=nikomatsakis | bors | -25/+98 | |
| Decompose Adjustment into smaller steps and remove the method map. The method map held method callee information for: * actual method calls (`x.f(...)`) * overloaded unary, binary, indexing and call operators * *every overloaded deref adjustment* (many can exist for each expression) That last one was a historical ~~accident~~ hack, and part of the motivation for this PR, along with: * a desire to compose adjustments more freely * containing the autoderef logic better to avoid mutation within an inference snapshot * not creating `TyFnDef` types which are incompatible with the original one * i.e. we used to take a`TyFnDef`'s `for<'a> &'a T -> &'a U` signature and instantiate `'a` using a region inference variable, *then* package the resulting `&'b T -> &'b U` signature in another `TyFnDef`, while keeping *the same* `DefId` and `Substs` * to fix #3548 by explicitly writing autorefs for the RHS of comparison operators Individual commits tell their own story, of "atomic" changes avoiding breaking semantics. Future work based on this PR could include: * removing the signature from `TyFnDef`, now that it's always "canonical" * some questions of variance remain, as subtyping *still* treats the signature differently * moving part of the typeck logic for methods, autoderef and coercion into `rustc::traits` * allowing LUB coercions (joining multiple expressions) to "stack up" many adjustments * transitive coercions (e.g. reify or unsize after multiple steps of autoderef) r? @nikomatsakis | ||||
| 2017-06-01 | rustc: decompose Adjustment into a vector of adjustment steps. | Eduard-Mihai Burtescu | -22/+25 | |
| 2017-06-01 | rustc: move autoref and unsize from Adjust::DerefRef to Adjustment. | Eduard-Mihai Burtescu | -17/+18 | |
| 2017-06-01 | rustc: replace autoderefs' use of MethodCallee with OverloadedDeref. | Eduard-Mihai Burtescu | -0/+108 | |
| 2017-06-01 | rustc: remove unused TypeFolder methods. | Eduard-Mihai Burtescu | -16/+0 | |
| 2017-06-01 | rustc: remove unnecessary ItemSubsts wrapper. | Eduard-Mihai Burtescu | -23/+0 | |
| 2017-05-31 | Upgrade ProjectionTy's Name to a DefId | Tobias Schottdorf | -5/+2 | |
| Part of #42171, in preparation for downgrading the contained `TraitRef` to only its `substs`. | ||||
| 2017-04-30 | intern CodeExtents | Niko Matsakis | -1/+1 | |
| Make a `CodeExtent<'tcx>` be something allocated in an arena instead of an index into the `RegionMaps`. | ||||
| 2017-04-11 | add Subtype predicate | Niko Matsakis | -2/+33 | |
| 2017-03-26 | store a copy of the Issue32230 info within TypeError | Ariel Ben-Yehuda | -4/+6 | |
| The data can't be looked up from the region variable directly, because the region variable might have been destroyed at the end of a snapshot. Fixes #40000. Fixes #40743. | ||||
| 2017-03-10 | Add extra methods to IndexVec and implement TypeFoldable for it | James Miller | -0/+11 | |
| Adds `get`/`get_mut` accessors and `drain`/`drain_enumerated` iterators to IndexVec. Implements TypeFoldable for IndexVec. | ||||
| 2017-02-25 | rustc: combine BareFnTy and ClosureTy into FnSig. | Eduard-Mihai Burtescu | -50/+4 | |
| 2017-02-25 | rustc: store type parameter defaults outside of ty::Generics. | Eduard-Mihai Burtescu | -35/+1 | |
| 2017-02-03 | Add warning for () to ! switch | Andrew Cann | -2/+2 | |
| 2017-01-30 | Merge ty::TyBox into ty::TyAdt | Vadim Petrochenkov | -2/+0 | |
| 2017-01-28 | rustc: remove unused `bounds` field from `RegionParameterDef`. | Eduard-Mihai Burtescu | -17/+1 | |
| 2017-01-28 | rustc: move object default lifetimes to resolve_lifetimes. | Eduard-Mihai Burtescu | -25/+1 | |
| 2016-12-05 | Refactor FnSig to contain a Slice for its inputs and outputs. | Mark-Simulacrum | -8/+12 | |
| 2016-12-05 | Refactor ty::FnSig to privatize all fields | Mark-Simulacrum | -11/+7 | |
| 2016-11-28 | Refactor TyTrait to contain a interned ExistentialPredicate slice. | Mark-Simulacrum | -12/+28 | |
| Renames TyTrait to TyDynamic. | ||||
| 2016-11-28 | Remove BuiltinBound and BuiltinBounds. | Mark-Simulacrum | -11/+0 | |
| 2016-11-28 | Refactor BuiltinBounds to Vec<DefId> on TraitObject. | Mark-Simulacrum | -1/+1 | |
