summaryrefslogtreecommitdiff
path: root/compiler/rustc_const_eval/src/const_eval
Commit message (Expand)AuthorAgeFilesLines
* Rename many interner functions.Nicholas Nethercote2023-02-241-1/+1
* Rollup merge of #108047 - oli-obk:machine->🞋, r=RalfJungMatthias Krüger2023-02-154-11/+11
|\
| * Use target instead of machine for mir interpreter integer handling.Oli Scherer2023-02-154-11/+11
* | Auto merge of #108006 - cjgillot:def-impl, r=oli-obkbors2023-02-151-1/+2
|\ \ | |/ |/|
| * Add `of_trait` to DefKind::Impl.Camille GILLOT2023-02-141-1/+2
* | s/eval_usize/eval_target_usize/ for clarityOli Scherer2023-02-141-1/+1
|/
* Reduce direct `mk_ty` usage.Nicholas Nethercote2023-02-131-2/+2
* Avoid some `tls::with` calls.Nicholas Nethercote2023-02-091-1/+1
* Replace enum `==`s with `match`es where it makes senseMaybe Waffle2023-01-301-4/+3
* Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obkbors2023-01-291-2/+2
|\
| * Add comments and remove unnecessary codeBryan Garza2023-01-231-5/+0
| * Add back Machine::before_terminator(...) methodBryan Garza2023-01-231-0/+5
| * Replace terminator-based const eval limitBryan Garza2023-01-231-2/+2
| * Remove debugging-related codeBryan Garza2023-01-232-4/+0
| * Create stable metric to measure long computation in Const EvalBryan Garza2023-01-232-0/+4
* | Introduce GeneratorWitnessMIR.Camille GILLOT2023-01-271-1/+2
* | change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyB...Kyle Matsuda2023-01-261-1/+1
* | replace usages of fn_sig query with bound_fn_sigKyle Matsuda2023-01-261-2/+2
|/
* Auto merge of #106090 - WaffleLapkin:dereffffffffff, r=Nilstriebbors2023-01-202-4/+4
|\
| * Undo questionable changesMaybe Waffle2023-01-171-1/+1
| * `rustc_const_eval`: remove `ref` patterns (+some pattern matching imps)Maybe Waffle2023-01-173-5/+5
* | Stop using `BREAK` & `CONTINUE` in compilerScott McMurray2023-01-171-4/+4
* | Remove double spaces after dots in commentsMaybe Waffle2023-01-171-1/+1
|/
* attempt to make a minimal example workDeadbeef2023-01-121-0/+1
* simplify alignment_check_failed a bitRalf Jung2022-12-151-14/+5
* Reuse the ctfe error emitting logic for the future incompat lintOli Scherer2022-12-151-17/+22
* Factor decorate closure out into a methodOli Scherer2022-12-151-70/+65
* Move alignment failure error reporting to machineOli Scherer2022-12-151-2/+37
* Make alignment checks a future incompat lintOli Scherer2022-12-152-10/+31
* always check alignment during CTFERalf Jung2022-12-151-1/+1
* Combine identical alias armsMichael Goulet2022-12-131-5/+3
* Combine projection and opaque into aliasMichael Goulet2022-12-131-4/+4
* compiler: remove unnecessary imports and qualified pathsKaDiWa2022-12-101-1/+0
* Change CTFE backtraces to use `note` instead of `label` to preserve their orderOli Scherer2022-12-061-3/+3
* fix dupe word typosRageking82022-12-051-1/+1
* interpret: get rid of run() functionRalf Jung2022-11-271-1/+1
* Rollup merge of #104564 - RalfJung:either, r=oli-obkMatthias Krüger2022-11-201-13/+16
|\
| * interpret: use Either over Result when it is not representing an error conditionRalf Jung2022-11-181-13/+16
* | Revert "don't call `align_offset` during const eval, ever"Lukas Markeffsky2022-11-191-90/+44
* | fix const `align_offset` implementationLukas Markeffsky2022-11-191-3/+6
* | replace potential ICE with graceful error (`no_core` only)Lukas Markeffsky2022-11-191-3/+2
* | don't call `align_offset` during const eval, everLukas Markeffsky2022-11-191-43/+88
* | make const `align_offset` usefulLukas Markeffsky2022-11-191-23/+106
* | unify inherent impls of `CompileTimeEvalContext`Lukas Markeffsky2022-11-191-46/+44
|/
* cleanup and dedupe CTFE and Miri error reportingRalf Jung2022-11-163-9/+9
* add is_sized method on Abi and Layout, and use itRalf Jung2022-11-131-1/+1
* Rollup merge of #103625 - WaffleLapkin:no_tyctxt_dogs_allowed, r=compiler-errorsGuillaume Gomez2022-10-291-2/+2
|\
| * Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle2022-10-271-2/+2
* | Auto merge of #102674 - CastilloDel:master, r=oli-obkbors2022-10-281-8/+8
|\ \ | |/ |/|
| * Remove allow(rustc::potential_query_instability) in rustc_const_evalCastilloDel2022-10-181-8/+8