| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2017-01-30 | Merge ty::TyBox into ty::TyAdt | Vadim Petrochenkov | -31/+0 | |
| 2017-01-28 | rustc: remove unused `bounds` field from `RegionParameterDef`. | Eduard-Mihai Burtescu | -7/+2 | |
| 2017-01-28 | rustc: always keep an explicit lifetime in trait objects. | Eduard-Mihai Burtescu | -14/+14 | |
| 2017-01-28 | rustc: clean up the style of middle::resolve_lifetime. | Eduard-Mihai Burtescu | -4/+4 | |
| 2017-01-28 | rustc: always include elidable lifetimes in HIR types. | Eduard-Mihai Burtescu | -5/+17 | |
| 2017-01-27 | Auto merge of #39158 - petrochenkov:bounds, r=nikomatsakis | bors | -2/+5 | |
| Bounds parsing refactoring 2 See https://github.com/rust-lang/rust/pull/37511 for previous discussion. cc @matklad Relaxed parsing rules: - zero bounds after `:` are allowed in all contexts. - zero predicates are allowed after `where`. - trailing separator `,` is allowed after predicates in `where` clauses not followed by `{`. Other parsing rules: - trailing separator `+` is still allowed in all bound lists. Code is also cleaned up and tests added. I haven't touched parsing of trait object types yet, I'll do it later. | ||||
| 2017-01-26 | rustc: rename TyCtxt's `map` field to `hir`. | Eduard-Mihai Burtescu | -37/+37 | |
| 2017-01-24 | Refactor parsing of generic arguments/parameters and where clauses | Vadim Petrochenkov | -2/+5 | |
| 2017-01-17 | Rename ObjectSum into TraitObject in AST/HIR | Vadim Petrochenkov | -1/+1 | |
| 2017-01-17 | AST/HIR: Merge ObjectSum and PolyTraitRef | Vadim Petrochenkov | -15/+14 | |
| 2017-01-15 | rustdoc: Give primitive types stability attributes | Oliver Middleton | -2/+2 | |
| This is especially important for i128/u128 to make it clear they are unstable in the docs. | ||||
| 2017-01-06 | rustc: keep track of tables everywhere as if they were per-body. | Eduard-Mihai Burtescu | -16/+4 | |
| 2017-01-04 | Auto merge of #38414 - estebank:doc-dissambiguate, r=steveklabnik | bors | -2/+2 | |
| Rustdoc: disambiguate Implementors when the type name is not unique Presentation [goes from](https://doc.rust-lang.org/stable/std/iter/trait.ExactSizeIterator.html#implementors): <img width="492" alt="" src="https://cloud.githubusercontent.com/assets/1606434/21276752/b2b50474-c387-11e6-96e1-9766851da269.png"> to: <img width="787" alt="" src="https://cloud.githubusercontent.com/assets/1606434/21276763/bb37f6b0-c387-11e6-8596-9163cb254674.png"> on cases where there're multiple implementors with the same name. Fixes #37762. | ||||
| 2016-12-30 | Make rustdoc aware of the primitive i128 type | est31 | -0/+4 | |
| Many thanks to ollie27 for spotting all the places. | ||||
| 2016-12-30 | Compilation fixes | est31 | -1/+1 | |
| 2016-12-30 | Add a way to retrieve constant value in 128 bits | Simonas Kazlauskas | -1/+3 | |
| Fixes rebase fallout, makes code correct in presence of 128-bit constants. This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-30 | Such large. Very 128. Much bits. | Simonas Kazlauskas | -40/+46 | |
| This commit introduces 128-bit integers. Stage 2 builds and produces a working compiler which understands and supports 128-bit integers throughout. The general strategy used is to have rustc_i128 module which provides aliases for iu128, equal to iu64 in stage9 and iu128 later. Since nowhere in rustc we rely on large numbers being supported, this strategy is good enough to get past the first bootstrap stages to end up with a fully working 128-bit capable compiler. In order for this strategy to work, number of locations had to be changed to use associated max_value/min_value instead of MAX/MIN constants as well as the min_value (or was it max_value?) had to be changed to use xor instead of shift so both 64-bit and 128-bit based consteval works (former not necessarily producing the right results in stage1). This commit includes manual merge conflict resolution changes from a rebase by @est31. | ||||
| 2016-12-28 | rustdoc: pretty-print nested bodies in inlined constants. | Eduard-Mihai Burtescu | -4/+27 | |
| 2016-12-28 | rustc: always print nested nodes where a HIR map is available. | Eduard-Mihai Burtescu | -7/+5 | |
| 2016-12-28 | rustc: simplify constant cross-crate loading and rustc_passes::consts. | Eduard-Mihai Burtescu | -12/+4 | |
| 2016-12-28 | rustc: move function arguments into hir::Body. | Eduard-Mihai Burtescu | -61/+60 | |
| 2016-12-28 | rustc: separate bodies for static/(associated)const and embedded constants. | Eduard-Mihai Burtescu | -7/+12 | |
| 2016-12-28 | rustc: separate TraitItem from their parent Item, just like ImplItem. | Eduard-Mihai Burtescu | -4/+4 | |
| 2016-12-28 | hir: lower `ImplicitSelf` to resolved `Self` TyQPath's. | Eduard-Mihai Burtescu | -11/+21 | |
| 2016-12-21 | fix String to &str cast | Esteban Küber | -1/+1 | |
| 2016-12-22 | Refactor how global paths are represented (for both ast and hir). | Jeffrey Seyfried | -17/+10 | |
| 2016-12-21 | use &str instead of String | bluss | -2/+2 | |
| 2016-12-19 | Don't try get local DefId of imported macro in rustdoc. | Michael Woerister | -1/+1 | |
| 2016-12-05 | Refactor ty::FnSig to privatize all fields | Mark-Simulacrum | -3/+3 | |
| 2016-12-02 | Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakis | bors | -10/+8 | |
| [9/n] rustc: move type information out of AdtDef and TraitDef. _This is part of a series ([prev](https://github.com/rust-lang/rust/pull/37688) | [next]()) of patches designed to rework rustc into an out-of-order on-demand pipeline model for both better feature support (e.g. [MIR-based](https://github.com/solson/miri) early constant evaluation) and incremental execution of compiler passes (e.g. type-checking), with beneficial consequences to IDE support as well. If any motivation is unclear, please ask for additional PR description clarifications or code comments._ <hr> Both `AdtDef` and `TraitDef` contained type information (field types, generics and predicates) which was required to create them, preventing their use before that type information exists, or in the case of field types, *mutation* was required, leading to a variance-magicking implementation of `ivar`s. This PR takes that information out and the resulting cleaner setup could even eventually end up merged with HIR, because, just like `AssociatedItem` before it, there's no dependency on types anymore. (With one exception, variant discriminants should probably be moved into their own map later.) | ||||
| 2016-11-30 | Auto merge of #37954 - eddyb:rustdoc-2, r=alexcrichton | bors | -98/+87 | |
| rustdoc: link to cross-crate sources directly. Fixes #37684 by implementing proper support for getting the `Span` of definitions across crates. In rustdoc this is used to generate direct links to the original source instead of fragile redirects. This functionality could be expanded further for making error reporting code more uniform and seamless across crates, although at the moment there is no actual source to print, only file/line/column information. Closes #37870 which is also "fixes" #37684 by throwing away the builtin macro docs from libcore. After this lands, #37727 could be reverted, although it doesn't matter much either way. | ||||
| 2016-11-30 | rustdoc: link to cross-crate sources directly. | Eduard-Mihai Burtescu | -98/+87 | |
| 2016-11-29 | rustc: simplify AdtDef by removing the field types and ty::ivar. | Eduard-Mihai Burtescu | -5/+5 | |
| 2016-11-29 | rustc: remove type information from TraitDef. | Eduard-Mihai Burtescu | -5/+3 | |
| 2016-11-28 | Adds TyCtxt::require_lang_item(LangItem) to simplify lang item requires. | Mark-Simulacrum | -2/+1 | |
| Replaces instances of tcx.lang_items.require(..) with fatal unwrap with this method. | ||||
| 2016-11-28 | Refactor TyTrait to contain a interned ExistentialPredicate slice. | Mark-Simulacrum | -17/+10 | |
| Renames TyTrait to TyDynamic. | ||||
| 2016-11-28 | Remove BuiltinBound and BuiltinBounds. | Mark-Simulacrum | -39/+18 | |
| 2016-11-28 | Refactor BuiltinBounds to Vec<DefId> on TraitObject. | Mark-Simulacrum | -2/+22 | |
| 2016-11-28 | Privatize TraitObject.principal and add a method accessor, returning Option. | Mark-Simulacrum | -22/+26 | |
| 2016-11-28 | rustc_typeck: save the type cache for rustdoc and save-analysis. | Eduard Burtescu | -4/+7 | |
| 2016-11-28 | rustc: embed path resolutions into the HIR instead of keeping DefMap. | Eduard-Mihai Burtescu | -30/+34 | |
| 2016-11-28 | rustc: desugar `use a::{b,c};` into `use a::b; use a::c;` in HIR. | Eduard-Mihai Burtescu | -60/+12 | |
| 2016-11-28 | rustc: desugar UFCS as much as possible during HIR lowering. | Eduard Burtescu | -11/+30 | |
| 2016-11-24 | rustdoc: we can now assume DocContext always has a TyCtxt. | Eduard-Mihai Burtescu | -273/+201 | |
| 2016-11-24 | rustdoc: use libsyntax ast::Attribute instead of "cleaning" them. | Eduard-Mihai Burtescu | -75/+92 | |
| 2016-11-21 | Fix fallout in `rustdoc` and tests. | Jeffrey Seyfried | -3/+3 | |
| 2016-11-17 | hash the contents of impl-item-ref by adding them to visitor | Niko Matsakis | -4/+5 | |
| Also simplify some of the `ty::AssociatedItem` representation, in particular by folding `has_value` into `hir::Defaultness` | ||||
| 2016-11-13 | do not use deprecated text for unstable docs | Andy Russell | -7/+9 | |
| 2016-11-10 | rustc: clean up lookup_item_type and remove TypeScheme. | Eduard Burtescu | -36/+30 | |
| 2016-11-10 | rustc: unify and simplify managing associated items. | Eduard Burtescu | -147/+128 | |
