summary refs log tree commit diff
path: root/src/librustc/ty/layout.rs
AgeCommit message (Expand)AuthorLines
2018-09-14Auto merge of #54032 - oli-obk:layout_scalar_ranges, r=eddybbors-11/+28
2018-09-11only allow restricting scalar layoutsOliver Schneider-1/+2
2018-09-11Address attribute naming and use `Bound` enumOliver Schneider-19/+27
2018-09-11Get rid of the `non_zero` lang item in favour of arbitrary range specificationsOliver Schneider-7/+15
2018-09-10renamed mk_nil to mk_unitkenta7777-2/+2
2018-09-05Changing TyAnon -> TyOpaque and relevant functionsms2300-3/+3
2018-08-28Warn about naively fixing the FIXMEOliver Schneider-0/+7
2018-08-28Use partial but correct vtable layoutOliver Schneider-10/+2
2018-08-22Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}varkor-14/+14
2018-08-22Remove Ty prefix from Ty{Foreign|Param}varkor-6/+6
2018-08-22Remove Ty prefix from Ty{Adt|Array|Slice|RawPtr|Ref|FnDef|FnPtr|Dynamic|Closu...varkor-45/+45
2018-08-10Consider changing assert! to debug_assert! when it calls visit_withljedrz-3/+3
2018-07-29Sanity-check all constantsOliver Schneider-5/+20
2018-07-05Store scalar pair bools as i8 in memoryJosh Stone-7/+2
2018-07-02Use LitToConstError rather than bool for errorsvarkor-4/+1
2018-07-02Fix ICEs with match/return expressions inside array lengthsvarkor-1/+4
2018-06-14rustc: rename ty::maps to ty::query.Eduard-Mihai Burtescu-4/+4
2018-05-26Use `Ident`s for fields in HIRVadim Petrochenkov-2/+2
2018-05-24Use in-band-lifetimes instead of unused explicit lifetimesOliver Schneider-2/+2
2018-05-24Replace `ScalarKind` with `Primitive`Oliver Schneider-7/+5
2018-05-24Get rid of `scalar_size`Oliver Schneider-4/+4
2018-05-24Add constant for `Size::from_bytes(0)`Oliver Schneider-15/+15
2018-05-18Find the largest niche when computing layoutsAnthony Ramine-37/+74
2018-05-17Rename trans to codegen everywhere.Irina Popa-3/+3
2018-05-14rustc: don't trip an assertion for enums with present but uninhabited variants.Eduard-Mihai Burtescu-0/+5
2018-05-13Auto merge of #50622 - eddyb:make-room-for-ghosts, r=nikomatsakisbors-23/+50
2018-05-11Introduce ConstValue and use it instead of miri's Value for constant valuesJohn Kåre Alsaker-1/+1
2018-05-10rustc: leave space for fields of uninhabited types to allow partial initializ...Eduard-Mihai Burtescu-23/+50
2018-05-08Insert fields from TypeAndMut into TyRef to allow layout optimizationJohn Kåre Alsaker-3/+3
2018-05-08Store the GeneratorInterior in the new GeneratorSubstsJohn Kåre Alsaker-2/+2
2018-05-08Store generator movability outside GeneratorInteriorJohn Kåre Alsaker-2/+2
2018-05-06issue-49938: Reference tagged unions discr(iminant) as tagSamuel Wilson-5/+5
2018-05-01Correct initial field alignment for repr(C)/repr(int)varkor-2/+6
2018-05-01Auto merge of #50198 - oli-obk:const_prop, r=eddybbors-1/+1
2018-05-01Removed direct field usage of RangeInclusive in rustc itself.kennytm-24/+20
2018-04-30Merge ConstMathError into EvalErrorKindOliver Schneider-1/+1
2018-04-27Auto merge of #49420 - nox:enum-scalarpair, r=eddybbors-8/+73
2018-04-26Auto merge of #49513 - nox:univariant-fieldless-enum-as-zst, r=eddybbors-5/+4
2018-04-26Fixed tidy errors.Irina Popa-1/+1
2018-04-26Treat repr(Rust) univariant fieldless enums as a ZST (fixes #15747)Anthony Ramine-5/+4
2018-04-26rustc_target: move for_variant and field TyLayout methods to a trait.Irina Popa-80/+39
2018-04-26rustc_target: move LayoutOf's type parameter to an associated type.Irina Popa-5/+7
2018-04-26rustc_target: move in type definitions from ty::layout.Irina Popa-757/+35
2018-04-26Use ScalarPair for tagged enumsAnthony Ramine-8/+73
2018-04-18Auto merge of #49981 - nox:fix-signed-niches, r=eddybbors-5/+6
2018-04-15Make layout_depth thread-safeJohn Kåre Alsaker-12/+17
2018-04-15Properly handle ranges of signed enums using both extremums (fixes #49973)Anthony Ramine-5/+6
2018-04-12Auto merge of #49558 - Zoxc:sync-misc, r=michaelwoeristerbors-1/+1
2018-04-12Auto merge of #48528 - bitshifter:repr_packed, r=eddybbors-26/+52
2018-04-11Implementation of `#[repr(packed(n))]` RFC 1399.Cameron Hart-26/+52