about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src
AgeCommit message (Expand)AuthorLines
2022-02-20Implement LowerHex on Scalar to clean up their display in rustdocGuillaume Gomez-1/+1
2022-02-19Fix pretty printing of enums without variantsTomasz Miąsko-0/+4
2022-02-19rustc_const_eval: adopt let else in more placesest31-123/+86
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-7/+8
2022-02-16Support pretty printing of invalid constantsTomasz Miąsko-22/+20
2022-02-15Overhaul `Const`.Nicholas Nethercote-15/+15
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-9/+9
2022-02-12Report the selection error when possibleDeadbeef-15/+36
2022-02-12Adapt new changeDeadbeef-4/+11
2022-02-12Handle Fn family trait call errrorDeadbeef-4/+41
2022-02-12Rebased and improved errorsDeadbeef-4/+2
2022-02-12Improve error messages even moreDeadbeef-126/+388
2022-02-12More informative error message for E0015Deadbeef-49/+51
2022-02-11use body.tainted_by_error to skip loading MIRMichael Goulet-40/+17
2022-02-11add tainted_by_errors to mir::BodyMichael Goulet-5/+8
2022-02-11rework borrowck errors so that it's harder to not set taintedMichael Goulet-4/+6
2022-02-11skip const eval if we have an error in borrowckMichael Goulet-1/+8
2022-02-11Revert "Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis"Oli Scherer-17/+8
2022-02-07Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakisbors-8/+17
2022-02-03Rollup merge of #92802 - compiler-errors:deduplicate-stack-trace, r=oli-obkYuki Okushi-1/+29
2022-02-02Rollup merge of #93546 - tmiasko:validate-switch-int, r=oli-obkMatthias Krüger-0/+18
2022-02-02Fixup changes that aren't neccessary anymoreOli Scherer-2/+2
2022-02-02Lazily resolve type-alias-impl-trait defining usesOli Scherer-8/+17
2022-02-01add a rustc::query_stability lintlcnr-0/+1
2022-02-01Validate that values in switch int terminator are uniqueTomasz Miąsko-0/+18
2022-01-30Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-deadMatthias Krüger-3/+2
2022-01-29Rollup merge of #92274 - woppopo:const_deallocate, r=oli-obkMatthias Krüger-0/+27
2022-01-26drive-by: use is_const and is_const_if_constMichael Goulet-3/+2
2022-01-26`const_deallocate`: Don't deallocate memory allocated in an another const. Do...woppopo-5/+15
2022-01-24Auto merge of #93028 - compiler-errors:const_drop_bounds, r=fee1-deadbors-21/+39
2022-01-23Add `intrinsics::const_deallocate`woppopo-0/+17
2022-01-20update commentslcnr-1/+5
2022-01-19Foreign types are trivially dropMichael Goulet-1/+1
2022-01-18Short-circuit some trivially const Drop typesMichael Goulet-10/+9
2022-01-18Check const Drop impls considering ConstIfConst boundsMichael Goulet-12/+31
2022-01-17Auto merge of #92816 - tmiasko:rm-llvm-asm, r=Amanieubors-7/+0
2022-01-16Auto merge of #92805 - BoxyUwU:revert-lazy-anon-const-substs, r=lcnrbors-22/+13
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-10/+9
2022-01-15initial revertEllen-22/+13
2022-01-12Remove deprecated LLVM-style inline assemblyTomasz Miąsko-7/+0
2022-01-12Rollup merge of #92432 - fee1-dead:constck-impl-constness, r=oli-obkMatthias Krüger-1/+5
2022-01-11Deduplicate lines in long const-eval stack traceMichael Goulet-1/+29
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-3/+3
2022-01-04rename StackPopClean::None to RootRalf Jung-7/+13
2022-01-03Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievinkMatthias Krüger-21/+1
2021-12-31Extend check for UnsafeCell in consts to cover unionsTomasz Miąsko-1/+8
2021-12-30Error when selected impl is not const in constckDeadbeef-1/+5
2021-12-24Auto merge of #91342 - RalfJung:fn-abi, r=eddyb,oli-obkbors-139/+222
2021-12-22Store a `DefId` instead of an `AdtDef` in `AggregateKind::Adt`Aaron Hill-4/+6
2021-12-20better name for AdjustForForeignAbiError error variant in InterpErrorRalf Jung-1/+3