summary refs log tree commit diff
path: root/compiler/rustc_middle/src
AgeCommit message (Expand)AuthorLines
2021-10-13Turn tcx.vtable_allocation() into a query.Michael Woerister-65/+69
2021-10-13Remove untracked vtable-const-allocation cache from tcxMichael Woerister-14/+2
2021-09-03Auto merge of #88572 - matthewjasper:if-let-scoping-fix, r=oli-obkbors-0/+6
2021-09-03Auto merge of #88597 - cjgillot:lower-global, r=petrochenkovbors-8/+9
2021-09-02Rollup merge of #88532 - ptrojahn:single_use, r=davidtwcoMara Bos-5/+2
2021-09-01Fix drop handling for `if let` expressionsMatthew Jasper-0/+6
2021-09-01Compute proc_macros in resolutions.Camille GILLOT-0/+3
2021-09-01Compute all_traits_impls during resolution.Camille GILLOT-1/+3
2021-09-01Stop sorting bodies by span.Camille GILLOT-7/+3
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-31Remove single use variablesPaul Trojahn-5/+2
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