summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval
AgeCommit message (Expand)AuthorLines
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
2024-06-22don't ICE when encountering an extern type field during validationRalf Jung-32/+44
2024-06-16Rename InstanceDef -> InstanceKindMichael Goulet-5/+5
2024-06-14Use is_lang_item more aggressivelyMichael Goulet-3/+3
2024-06-13const-eval: make lint scope computation consistentRalf Jung-13/+15
2024-06-13rename CompileTimeInterpreter -> CompileTimeMachine, CompileTimeEvalContext -...Ralf Jung-27/+27
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-4/+4
2024-06-07Revert "Create const block DefIds in typeck instead of ast lowering"Oli Scherer-1/+1
2024-05-29Rollup merge of #125633 - RalfJung:miri-no-copy, r=saethlin许杰友 Jieyou Xu (Joe)-2/+2
2024-05-28Create const block DefIds in typeck instead of ast loweringOli Scherer-1/+1
2024-05-28Remove a CTFE check that was only ever used to ICEOli Scherer-13/+1
2024-05-27miri: avoid making a full copy of all new allocationsRalf Jung-2/+2
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-62/+56
2024-05-27interpret: the MIR is actually at lifetime 'tcxRalf Jung-28/+25
2024-05-24Run rustfmt on files that need it.Nicholas Nethercote-4/+3
2024-05-23Auto merge of #125434 - nnethercote:rm-more-extern-tracing, r=jackh726bors-0/+4
2024-05-23Allow const eval failures if the cause is a type layout issueOli Scherer-4/+5
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_const_eval`.Nicholas Nethercote-0/+4
2024-05-23Auto merge of #125359 - RalfJung:interpret-overflowing-ops, r=oli-obkbors-3/+3
2024-05-22Auto merge of #117329 - RalfJung:offset-by-zero, r=oli-obk,scottmcmbors-5/+15
2024-05-21interpret: make overflowing binops just normal binopsRalf Jung-3/+3
2024-05-17Rename Unsafe to SafetySantiago Pastorino-2/+2
2024-05-13offset, offset_from: allow zero-byte offset on arbitrary pointersRalf Jung-5/+15
2024-05-13Remove `extern crate rustc_middle` from `rustc_const_eval`.Nicholas Nethercote-4/+13
2024-05-09Make builtin_deref just return a TyMichael Goulet-1/+1
2024-05-07replace another Option<Span> by DUMMY_SPRalf Jung-10/+10
2024-05-04interpret, miri: uniform treatments of intrinsics/functions with and without ...Ralf Jung-14/+2
2024-05-03Ensure miri only uses fallback bodies that have manually been vetted to prese...Oli Scherer-1/+2
2024-05-03Let miri and const eval execute intrinsics' fallback bodiesOli Scherer-8/+24
2024-04-23properly fill a promoted's required_constsRalf Jung-19/+2
2024-04-23interpret: sanity-check that required_consts captures all consts that can failRalf Jung-0/+20
2024-04-17Use less fragile error handlingOli Scherer-3/+5
2024-04-17Validate before reporting interning errors.Oli Scherer-3/+26
2024-04-08Actually create ranged int types in the type system.Oli Scherer-2/+14
2024-03-27chore: fix some commentsxiaoxiangxianzi-1/+1