rust/src/librustc/ty
bors 1e508c4209 Auto merge of #50860 - nox:big-niches-for-big-doggos-🐕, r=eddyb
Find the largest niche when computing layouts

Otherwise we end up with `Option<Option<(&(), bool)>>` unnecessarily large.
2018-05-21 01:23:15 +00:00
..
inhabitedness Introduce ConstValue and use it instead of miri's Value for constant values 2018-05-11 13:01:44 +02:00
maps Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
_match.rs Make Binder's field private and clean up its usage 2018-04-24 22:12:07 -05:00
adjustment.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
binding.rs default binding modes: add pat_binding_modes 2017-07-30 10:19:53 -04:00
cast.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
codec.rs Introduce ConstValue and use it instead of miri's Value for constant values 2018-05-11 13:01:44 +02:00
context.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
erase_regions.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
error.rs Introduce ConstValue and use it instead of miri's Value for constant values 2018-05-11 13:01:44 +02:00
fast_reject.rs Insert fields from TypeAndMut into TyRef to allow layout optimization 2018-05-08 16:21:58 +02:00
flags.rs Make is_global true for latebound regions 2018-05-15 21:48:35 +01:00
fold.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
instance.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
item_path.rs rustc: introduce {ast,hir}::AnonConst to consolidate so-called "embedded constants". 2018-05-19 20:34:42 +03:00
layout.rs Find the largest niche when computing layouts 2018-05-18 14:32:05 +02:00
mod.rs Rename trans to codegen everywhere. 2018-05-17 15:08:30 +03:00
outlives.rs Store the GeneratorInterior in the new GeneratorSubsts 2018-05-08 16:21:58 +02:00
relate.rs Introduce ConstValue and use it instead of miri's Value for constant values 2018-05-11 13:01:44 +02:00
steal.rs Make Steal thread-safe 2018-03-28 01:27:59 +02:00
structural_impls.rs Insert fields from TypeAndMut into TyRef to allow layout optimization 2018-05-08 16:21:58 +02:00
sty.rs Go through an allocation when accessing fields of constants 2018-05-19 14:24:24 +02:00
subst.rs Add mk_param_from_def 2018-05-15 14:22:25 +01:00
trait_def.rs Add InterpretInterner to StableHashingContext for AllocId serialization 2018-03-08 08:34:08 +01:00
util.rs Removed yet another unused import. 2018-05-17 16:41:34 -04:00
walk.rs Insert fields from TypeAndMut into TyRef to allow layout optimization 2018-05-08 16:21:58 +02:00
wf.rs Insert fields from TypeAndMut into TyRef to allow layout optimization 2018-05-08 16:21:58 +02:00