summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
AgeCommit message (Expand)AuthorLines
2024-11-20interpret: make typing_env field privateRalf Jung-5/+4
2024-11-19`InterpCx` store `TypingEnv` instead of a `ParamEnv`lcnr-47/+38
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-1/+1
2024-11-19Auto merge of #133164 - RalfJung:promoted-oom, r=jieyouxubors-1/+8
2024-11-18interpret: do not ICE when a promoted fails with OOMRalf Jung-1/+8
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-7/+13
2024-11-16stabilize const_ptr_is_nullRalf Jung-0/+6
2024-11-09make return type of get_alloc_info a struct, and reduce some code duplication...Ralf Jung-2/+3
2024-11-09interpret: get_alloc_info: also return mutabilityRalf Jung-1/+1
2024-11-04remove support for extern-block const intrinsicsRalf Jung-9/+3
2024-11-03Rollup merge of #132423 - RalfJung:const-eval-align-offset, r=dtolnayJubilee-82/+6
2024-11-03Rollup merge of #132574 - workingjubilee:abi-in-compiler, r=compiler-errorsJubilee-5/+4
2024-11-03compiler: Directly use rustc_abi in const_evalJubilee Young-5/+4
2024-11-03Rename the FIXMEs, remove a few that dont matter anymoreMichael Goulet-1/+1
2024-11-03remove const-support for align_offsetRalf Jung-82/+6
2024-10-29compiler: `rustc_abi::Abi` => `BackendRepr`Jubilee Young-7/+7
2024-10-28compiler: Add `is_uninhabited` and use LayoutS accessorsJubilee Young-1/+1
2024-10-25tcx.is_const_fn doesn't work the way it is described, remove itRalf Jung-2/+2
2024-10-25Re-do recursive const stability checksRalf Jung-19/+2
2024-10-21Auto merge of #130950 - compiler-errors:yeet-eval, r=BoxyUwUbors-1/+1
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-1/+1
2024-10-19interpret errors: add map_err_kind, rename InterpError -> InterpErrorKindRalf Jung-5/+6
2024-10-12miri: avoid cloning AllocExtraRalf Jung-1/+1
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-79/+77
2024-09-23fix unqualified_local_imports in rustc_const_evalRalf Jung-6/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-18/+18
2024-09-21Rollup merge of #130665 - veera-sivarajan:fix-118612, r=compiler-errorsJubilee-1/+8
2024-09-21Prevent Deduplication of `LongRunningWarn`Veera-1/+8
2024-09-16layout computation: eagerly error for unexpected unsized fieldsLukas Markeffsky-1/+1
2024-09-14Auto merge of #128543 - RalfJung:const-interior-mut, r=fee1-deadbors-18/+31
2024-09-11clippy::useless_conversionMichael Goulet-6/+1
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-18/+31
2024-09-08interpret: reset padding during validationRalf Jung-5/+22
2024-09-08interpret: reset provenance on typed copiesRalf Jung-2/+2
2024-08-24Rollup merge of #129199 - RalfJung:writes_through_immutable_pointer, r=compil...Matthias Krüger-7/+10
2024-08-20ctfe: make CompileTimeInterpCx type alias publicRalf Jung-2/+5
2024-08-17make writes_through_immutable_pointer a hard errorRalf Jung-7/+10
2024-08-14Auto merge of #128812 - nnethercote:shrink-TyKind-FnPtr, r=compiler-errorsbors-2/+2
2024-08-11Remove struct_tail_no_normalizationMichael Goulet-1/+1
2024-08-11Rename normalization functions to rawMichael Goulet-1/+1
2024-08-09Shrink `TyKind::FnPtr`.Nicholas Nethercote-2/+2
2024-08-06interpret: refactor function call handling to be better-abstractedRalf Jung-10/+11
2024-08-05interpret: move nullary-op evaluation into operator.rsRalf Jung-1/+1
2024-08-03Miri: add a flag to do recursive validity checkingRalf Jung-1/+1
2024-08-01on a signed deref check, mention the right pointer in the errorRalf Jung-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-38/+29
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-13/+13
2024-07-02Fix spansMichael Goulet-1/+1
2024-07-02Give Instance::expect_resolve a spanMichael Goulet-0/+1
2024-06-28implement new effects desugaringDeadbeef-4/+1