about summary refs log tree commit diff
path: root/compiler/rustc_middle
AgeCommit message (Expand)AuthorLines
2021-09-01Auto merge of #88121 - camelid:better-recursive-alias-error, r=estebankbors-1/+12
2021-09-01Auto merge of #87688 - camsteffen:let-else, r=cjgillotbors-0/+3
2021-08-31Rollup merge of #86362 - ptrojahn:insert_vars_and_temps, r=jackh726Mara Bos-0/+5
2021-08-31Avoid cloning LocalDeclsPaul Trojahn-0/+5
2021-08-31Rollup merge of #88486 - bjorn3:better_arena_macro, r=jackh726Mara Bos-6/+6
2021-08-30Enforce diverging let...elseCameron Steffen-0/+3
2021-08-30Remove unused arena macro argsbjorn3-6/+6
2021-08-30`feature(const_generics)` -> `feature(const_param_types)`lcnr-2/+2
2021-08-30remove lazy_normalization_constsEllen-1/+1
2021-08-30rename const_evaluatable_checked to generic_const_exprsEllen-2/+2
2021-08-29Auto merge of #88337 - eddyb:field-failure-is-not-an-option, r=nagisabors-83/+108
2021-08-30rustc_target: remove `LayoutOf` bound from `TyAbiInterface`.Eduard-Mihai Burtescu-24/+30
2021-08-30rustc_target: `TyAndLayout::field` should never error.Eduard-Mihai Burtescu-48/+53
2021-08-28Remove obsolete `MacroDef` variant of `OwnerNode`inquisitivecrystal-13/+0
2021-08-28Treat macros as HIR itemsinquisitivecrystal-25/+2
2021-08-27Auto merge of #88328 - fee1-dead:not-quite-const, r=oli-obkbors-26/+37
2021-08-27rustc_target: require `TyAbiInterface` in `LayoutOf`.Eduard-Mihai Burtescu-0/+14
2021-08-27rustc_target: rename `TyAndLayoutMethods` to `TyAbiInterface`.Eduard-Mihai Burtescu-4/+8
2021-08-27rustc_target: add lifetime parameter to `LayoutOf`.Eduard-Mihai Burtescu-13/+9
2021-08-27Add `ty::BoundConstness`Deadbeef-21/+37
2021-08-27Auto merge of #88326 - eddyb:inline-ty-layout-methods, r=oli-obkbors-0/+10
2021-08-27Introduce `~const`Deadbeef-6/+1
2021-08-26Auto merge of #87280 - lcnr:lazy-anon-const-default-substs, r=nikomatsakisbors-144/+478
2021-08-26Auto merge of #87194 - eddyb:const-value-mangling, r=michaelwoerister,oli-obkbors-5/+12
2021-08-26`#[inline]` non-generic `pub fn`s in `rustc_target::abi` and `ty::layout`.Eduard-Mihai Burtescu-0/+10
2021-08-26Auto merge of #88308 - eddyb:cooked-layouts, r=nagisabors-79/+39
2021-08-26Auto merge of #83698 - erikdesjardins:undefconst, r=RalfJung,oli-obkbors-160/+438
2021-08-26optimize `HasTypeFlagsVisitor`lcnr-33/+81
2021-08-26inline stufflcnr-0/+4
2021-08-26type flagslcnr-8/+9
2021-08-26reviewlcnr-12/+26
2021-08-26shrink `ty::PredicateKind` againlcnr-10/+54
2021-08-26is_polymorphic doesn't matter for testslcnr-8/+3
2021-08-26ignore const substs in `implicit_infer`lcnr-9/+22
2021-08-26use `ty::Unevaluated` instead of def substs pairlcnr-15/+14
2021-08-26don't just compare `ty::Const`lcnr-0/+44
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-48/+135
2021-08-26add `tcx` to `fn walk`lcnr-19/+24
2021-08-26make unevaluated const substs optionallcnr-63/+107
2021-08-26require a `tcx` for `TypeVisitor`lcnr-8/+44
2021-08-26Auto merge of #88066 - LeSeulArtichaut:patterns-cleanups, r=nagisabors-68/+54
2021-08-25use a peekable iterator to check the first chunkErik Desjardins-3/+14
2021-08-25yet more comment improvementsErik Desjardins-2/+7
2021-08-25improve commentsErik Desjardins-9/+14
2021-08-25put code in a more logical orderErik Desjardins-345/+350
2021-08-25add commentsErik Desjardins-19/+119
2021-08-25implement InitMaskCompressed using InitChunkIter, cleanupErik Desjardins-23/+33
2021-08-25optimize initialization checksErik Desjardins-9/+102
2021-08-25use undef for uninitialized bytes in constantsErik Desjardins-6/+55
2021-08-25Auto merge of #85499 - jackh726:assoc-type-norm-rebase, r=nikomatsakisbors-2/+1