summary refs log tree commit diff
path: root/src/librustc/ty
AgeCommit message (Expand)AuthorLines
2017-01-06rebase: remove `tcx` from `associated_item`Niko Matsakis-2/+2
2016-12-30Disable field reorderingAustin Hicks-0/+4
2016-12-18Auto merge of #37429 - camlorn:univariant_layout_optimization, r=eddybbors-124/+306
2016-12-16Incorporate review comments.Austin Hicks-9/+7
2016-12-15Use StableHasher everywhereAriel Ben-Yehuda-88/+16
2016-12-14Fix computation of enum names based off the discrfield in the case of the nul...Austin Hicks-17/+29
2016-12-14Fix error introduced during last rebaseAustin Hicks-1/+1
2016-12-14Incorporate review commentsAustin Hicks-13/+7
2016-12-14Some small fixes to how structs/enums are optimizedAustin Hicks-2/+2
2016-12-14Make tidyAustin Hicks-1/+1
2016-12-14Fix having multiple reprs on the same type.Austin Hicks-53/+79
2016-12-14Make tidyAustin Hicks-8/+17
2016-12-14Fix checking to see if the last field of a struct can be unsized.Austin Hicks-1/+1
2016-12-14Don't optimize pairsAustin Hicks-2/+7
2016-12-14First attempt at detecting if structs can ever be unsizedAustin Hicks-2/+14
2016-12-14Use an enum to differentiate between kinds of structs.Austin Hicks-30/+61
2016-12-14Make tidyAustin Hicks-7/+18
2016-12-14Struct::new takes a vec, avoiding double allocation in some casesAustin Hicks-18/+19
2016-12-14Incorporate a bunch of review comments.Austin Hicks-56/+43
2016-12-14Fix bugs to optimizing enums:Austin Hicks-3/+8
2016-12-14Optimize anything using a layout::Struct by introducing a mapping from source...Austin Hicks-62/+153
2016-12-05Refactor FnSig to contain a Slice for its inputs and outputs.Mark-Simulacrum-35/+52
2016-12-05Refactor ty::FnSig to privatize all fieldsMark-Simulacrum-46/+47
2016-12-02Auto merge of #38053 - eddyb:lazy-9, r=nikomatsakisbors-324/+119
2016-11-30Auto merge of #37954 - eddyb:rustdoc-2, r=alexcrichtonbors-8/+10
2016-11-30rustc: track the Span's of definitions across crates.Eduard-Mihai Burtescu-8/+10
2016-11-29Auto merge of #37965 - Mark-Simulacrum:trait-obj-to-exis-predicate, r=eddybbors-267/+359
2016-11-29rustc: simplify AdtDef by removing the field types and ty::ivar.Eduard-Mihai Burtescu-278/+94
2016-11-29rustc: remove type information from TraitDef.Eduard-Mihai Burtescu-46/+25
2016-11-29Fix rebase breakageFlorian Diebold-2/+2
2016-11-29rustc: replace body exprs by their idsFlorian Diebold-5/+5
2016-11-28Adds TyCtxt::require_lang_item(LangItem) to simplify lang item requires.Mark-Simulacrum-19/+10
2016-11-28Refactor TyTrait to contain a interned ExistentialPredicate slice.Mark-Simulacrum-148/+324
2016-11-28Remove BuiltinBound and BuiltinBounds.Mark-Simulacrum-132/+18
2016-11-28Refactor BuiltinBounds to Vec<DefId> on TraitObject.Mark-Simulacrum-27/+44
2016-11-28Privatize TraitObject.principal and add a method accessor, returning Option.Mark-Simulacrum-25/+47
2016-11-28rustc_privacy: visit Ty instead of HIR types in EmbargoVisitor.Eduard-Mihai Burtescu-2/+45
2016-11-28rustc_typeck: save the type cache for rustdoc and save-analysis.Eduard Burtescu-4/+4
2016-11-28rustc: embed path resolutions into the HIR instead of keeping DefMap.Eduard-Mihai Burtescu-38/+20
2016-11-28rustc: desugar UFCS as much as possible during HIR lowering.Eduard Burtescu-5/+6
2016-11-25Auto merge of #37979 - nnethercote:Ty-super_fold_with, r=eddybbors-1/+6
2016-11-24Avoid more unnecessary mk_ty calls in Ty::super_fold_with.Nicholas Nethercote-1/+6
2016-11-24Revisions from review comments, squashed.Felix S. Klock II-0/+7
2016-11-23Auto merge of #36449 - canndrew:expand_is_uninhabited, r=eddybbors-17/+65
2016-11-22Use FxHashSet instead of HashMapAndrew Cann-11/+9
2016-11-22Make is_uninhabited respect privacyAndrew Cann-13/+20
2016-11-22Recursive types are always non-emptyAndrew Cann-1/+1
2016-11-22Expand is_uninhabited for referencesAndrew Cann-4/+3
2016-11-22Fix previous commitAndrew Cann-1/+1
2016-11-22Expand `is_uninhabited` to recurse into datatypesAndrew Cann-7/+53