summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/eval_context.rs
AgeCommit message (Expand)AuthorLines
2025-04-17Change function visibility to pubPatrick-6-4/+2
2025-02-20Rollup merge of #135296 - lukas-code:dyn-leak-check, r=compiler-errorsMatthias Krüger-39/+1
2025-02-10compiler: die immediately instead of handling unknown target codegenJubilee Young-3/+0
2025-01-31interpret: adjust vtable validity check for higher-ranked typesLukas Markeffsky-39/+1
2024-12-09fix ICE on type error in promotedRalf Jung-2/+4
2024-12-01fix ICE when promoted has layout size overflowRalf Jung-7/+4
2024-11-20interpret: make typing_env field privateRalf Jung-2/+2
2024-11-19`InterpCx` store `TypingEnv` instead of a `ParamEnv`lcnr-21/+22
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-1/+1
2024-11-19Auto merge of #133164 - RalfJung:promoted-oom, r=jieyouxubors-0/+3
2024-11-18interpret: do not ICE when a promoted fails with OOMRalf Jung-0/+3
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-30/+22
2024-11-03compiler: Directly use rustc_abi in const_evalJubilee Young-2/+2
2024-10-31stop using `ParamEnv::reveal` while handling MIRlcnr-4/+17
2024-10-29TypingMode :thinking:lcnr-2/+4
2024-10-19interpret errors: add map_err_kind, rename InterpError -> InterpErrorKindRalf Jung-5/+10
2024-10-14De-duplicate and move `adjust_nan` to `InterpCx`Eduardo Sánchez Muñoz-0/+8
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-27/+22
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-5/+5
2024-09-11Simplify some nested if statementsMichael Goulet-7/+15
2024-09-02chore: Fix typos in 'compiler' (batch 1)Alexander Cyon-1/+1
2024-08-06interpret: refactor function call handling to be better-abstractedRalf Jung-753/+10
2024-08-02Rollup merge of #128494 - RalfJung:mir-lazy-lists, r=compiler-errorsMatthias Krüger-1/+1
2024-08-01MIR required_consts, mentioned_items: ensure we do not forget to fill these l...Ralf Jung-1/+1
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-11/+0
2024-07-29Reformat `use` declarations.Nicholas Nethercote-12/+11
2024-07-18interpret: add sanity check in dyn upcast to double-check what codegen doesRalf Jung-0/+30
2024-07-07add an assertion that machine hook doesn't return NoCleanupMaybe Lapkin-3/+5
2024-07-07Do renames proposed by reviewMaybe Waffle-7/+7
2024-07-07make `StackPop` field names less confusingMaybe Waffle-16/+22
2024-07-07doc fixups from reviewMaybe Waffle-3/+3
2024-07-07Refactor & fixup interpreter implementation of tail callsMaybe Waffle-35/+110
2024-07-02Instance::resolve -> Instance::try_resolve, and other nitsMichael Goulet-1/+1
2024-06-19Rollup merge of #126154 - RalfJung:storage-live, r=compiler-errorsLeón Orell Valerian Liehr-5/+3
2024-06-18Use a dedicated type instead of a reference for the diagnostic contextOli Scherer-2/+2
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-1/+1
2024-06-13const-eval: make lint scope computation consistentRalf Jung-17/+10
2024-06-13Rollup merge of #126379 - RalfJung:find_closest_untracked_caller_location, r=...León Orell Valerian Liehr-3/+7
2024-06-13interpret: update doc comment for find_closest_untracked_caller_locationRalf Jung-3/+7
2024-06-12Rollup merge of #126328 - RalfJung:is_none_or, r=workingjubileeJubilee-1/+1
2024-06-12use is_none_or in some places in the compilerRalf Jung-1/+1
2024-06-11check for correct trait in size_and_align_ofRalf Jung-2/+2
2024-06-08StorageLive: refresh storage (instead of UB) when local is already liveRalf Jung-5/+3
2024-05-27miri: avoid making a full copy of all new allocationsRalf Jung-1/+1
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-20/+15
2024-05-27interpret: the MIR is actually at lifetime 'tcxRalf Jung-14/+12
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-0/+1
2024-05-23Allow const eval failures if the cause is a type layout issueOli Scherer-3/+14
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`.Nicholas Nethercote-0/+1
2024-05-13Remove `extern crate rustc_middle` from `rustc_const_eval`.Nicholas Nethercote-3/+5