about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
AgeCommit message (Expand)AuthorLines
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+2
2022-02-25Rollup merge of #94343 - RalfJung:fn-ptr, r=oli-obkMatthias Krüger-2/+3
2022-02-24Miri fn ptr check: don't use conservative null checkRalf Jung-2/+3
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-20/+23
2022-02-21Rollup merge of #94143 - est31:let_else_const_eval, r=lcnrMatthias Krüger-12/+8
2022-02-20Auto merge of #94062 - Mark-Simulacrum:drop-print-cfg, r=oli-obkbors-3/+3
2022-02-19Fix pretty printing of enums without variantsTomasz Miąsko-0/+4
2022-02-19rustc_const_eval: adopt let else in more placesest31-12/+8
2022-02-16Move ty::print methods to Drop-based scope guardsMark Rousskov-3/+3
2022-02-16Support pretty printing of invalid constantsTomasz Miąsko-20/+18
2022-02-15Overhaul `Const`.Nicholas Nethercote-5/+5
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-1/+1
2022-02-11use body.tainted_by_error to skip loading MIRMichael Goulet-23/+8
2022-02-11rework borrowck errors so that it's harder to not set taintedMichael Goulet-2/+2
2022-02-11skip const eval if we have an error in borrowckMichael Goulet-0/+3
2022-02-03Rollup merge of #92802 - compiler-errors:deduplicate-stack-trace, r=oli-obkYuki Okushi-1/+29
2022-01-30Rollup merge of #93358 - compiler-errors:is-not-const, r=fee1-deadMatthias Krüger-3/+2
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-23Add `intrinsics::const_deallocate`woppopo-0/+17
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-6/+7
2022-01-11Deduplicate lines in long const-eval stack traceMichael Goulet-1/+29
2022-01-04rename StackPopClean::None to RootRalf Jung-1/+1
2022-01-03Rollup merge of #90102 - nbdd0121:box3, r=jonas-schievinkMatthias Krüger-7/+0
2021-12-20const_eval machine: use original instance for replaced MIR bodiesRalf Jung-1/+11
2021-12-20CTFE eval_fn_call: use FnAbi to determine argument skipping and compatibilityRalf Jung-2/+2
2021-12-13Remove `in_band_lifetimes` from `rustc_const_eval`LegionMammal978-4/+4
2021-12-12Revert "Auto merge of #91491 - spastorino:revert-91354, r=oli-obk"Deadbeef-0/+3
2021-12-03Revert "Auto merge of #91354 - fee1-dead:const_env, r=spastorino"Santiago Pastorino-3/+0
2021-11-29Always use const param envs for const eval.Oli Scherer-0/+3
2021-11-07Give inline const separate DefKindGary Guo-0/+1
2021-11-06use matches!() macro in more placesMatthias Krüger-7/+2
2021-10-27Remove `is_const_fn` in `find_mir_or_eval_fn`Gary Guo-9/+3
2021-10-25Clean up special function const checksGary Guo-32/+20
2021-10-21Rollup merge of #90071 - cjgillot:no-blocks, r=oli-obkYuki Okushi-3/+2
2021-10-20Remove `box_alloc` from `Machine` trait.Gary Guo-7/+0
2021-10-19Replace FnLikeNode by FnKind.Camille GILLOT-3/+2
2021-10-20Rollup merge of #88860 - nbdd0121:panic, r=m-ou-seYuki Okushi-3/+1
2021-10-19Deduplicate panic_fmtGary Guo-3/+1
2021-10-12Add const_eval_select intrinsicDeadbeef-19/+40
2021-10-01Rollup merge of #88963 - fee1-dead:const-iterator, r=oli-obkManish Goregaokar-18/+1
2021-09-17Rollup merge of #88954 - nbdd0121:panic3, r=oli-obkGuillaume Gomez-2/+7
2021-09-17Auto merge of #88934 - tmiasko:trace-log, r=davidtwcobors-4/+5
2021-09-15Allow `panic!("{}", computed_str)` in const fn.Gary Guo-2/+7
2021-09-15Move is_const_fn to under TyCtxtDeadbeef-18/+1
2021-09-14Avoid unnecessary formatting when trace log level is disabledTomasz Miąsko-4/+5
2021-09-09Remove unused queryDeadbeef-22/+10
2021-09-07Rename rustc_mir to rustc_const_eval.Camille GILLOT-0/+1402