summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
AgeCommit message (Expand)AuthorLines
2023-01-20Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors-4/+4
2023-01-17Stop using `BREAK` & `CONTINUE` in compilerScott McMurray-4/+4
2023-01-17Remove double spaces after dots in commentsMaybe Waffle-1/+1
2023-01-17Undo questionable changesMaybe Waffle-1/+1
2023-01-17`rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle-5/+5
2023-01-12attempt to make a minimal example workDeadbeef-0/+1
2022-12-15simplify alignment_check_failed a bitRalf Jung-14/+5
2022-12-15Reuse the ctfe error emitting logic for the future incompat lintOli Scherer-17/+22
2022-12-15Factor decorate closure out into a methodOli Scherer-70/+65
2022-12-15Move alignment failure error reporting to machineOli Scherer-2/+37
2022-12-15Make alignment checks a future incompat lintOli Scherer-10/+31
2022-12-15always check alignment during CTFERalf Jung-1/+1
2022-12-13Combine identical alias armsMichael Goulet-5/+3
2022-12-13Combine projection and opaque into aliasMichael Goulet-4/+4
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-12-06Change CTFE backtraces to use `note` instead of `label` to preserve their orderOli Scherer-3/+3
2022-12-05fix dupe word typosRageking8-1/+1
2022-11-27interpret: get rid of run() functionRalf Jung-1/+1
2022-11-20Rollup merge of #104564 - RalfJung:either, r=oli-obkMatthias Krüger-13/+16
2022-11-19Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky-90/+44
2022-11-19fix const `align_offset` implementationLukas Markeffsky-3/+6
2022-11-19replace potential ICE with graceful error (`no_core` only)Lukas Markeffsky-3/+2
2022-11-19don't call `align_offset` during const eval, everLukas Markeffsky-43/+88
2022-11-19make const `align_offset` usefulLukas Markeffsky-23/+106
2022-11-19unify inherent impls of `CompileTimeEvalContext`Lukas Markeffsky-46/+44
2022-11-18interpret: use Either over Result when it is not representing an error conditionRalf Jung-13/+16
2022-11-16cleanup and dedupe CTFE and Miri error reportingRalf Jung-9/+9
2022-11-13add is_sized method on Abi and Layout, and use itRalf Jung-1/+1
2022-10-29Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez-2/+2
2022-10-28Auto merge of #102674 - CastilloDel:master, r=oli-obkbors-8/+8
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-2/+2
2022-10-20Revert "Unify tcx.constness and param env constness checks"Michael Goulet-56/+16
2022-10-18Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel-8/+8
2022-10-14more dupe word typosRageking8-1/+1
2022-10-12Unify tcx.constness and param env constness checksMichael Goulet-16/+56
2022-10-07make const_err a hard errorRalf Jung-105/+21
2022-10-01Refactor rustc lint APIMaybe Waffle-3/+3
2022-09-20Rollup merge of #102021 - lcnr:tyConst-fun, r=b-naber,BoxyUwUMichael Howell-4/+4
2022-09-19`DestructuredConst` split mir and tylcnr-2/+2
2022-09-19ctfe, `const_to_op` only for mir constantslcnr-2/+2
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+1
2022-09-09The `<*const T>::guaranteed_*` methods now return an option for the unknown caseOli Scherer-27/+24
2022-09-04Make `const_eval_select` a real intrinsicDeadbeef-15/+1
2022-09-01tracing::instrument cleanupOli Scherer-17/+8
2022-08-30Rollup merge of #101101 - RalfJung:read-pointer-as-bytes, r=oli-obkDylan DPC-3/+18
2022-08-28entirely get rid of NeedsRfc CTFE errorsRalf Jung-15/+5
2022-08-28CTFE: exposing pointers and calling extern fn doesn't need an RFC, it is just...Ralf Jung-3/+5
2022-08-28Rollup merge of #101038 - RalfJung:interning-alignment, r=oli-obkMatthias Krüger-3/+5
2022-08-27interpret: make read-pointer-as-bytes *always* work in MiriRalf Jung-3/+18
2022-08-27Auto merge of #101064 - compiler-errors:rollup-fwm5m5f, r=compiler-errorsbors-8/+13