summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/mod.rs
AgeCommit message (Expand)AuthorLines
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-3/+3
2024-11-18use `TypingEnv` when no `infcx` is availablelcnr-2/+6
2024-11-09make return type of get_alloc_info a struct, and reduce some code duplication...Ralf Jung-3/+83
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-10-19interpret errors: add map_err_kind, rename InterpError -> InterpErrorKindRalf Jung-1/+1
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-6/+6
2024-09-30panic when an interpreter error gets unintentionally discardedRalf Jung-6/+6
2024-09-23Check vtable projections for validity in miriMichael Goulet-7/+9
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-2/+2
2024-08-06miri: make vtable addresses not globally uniqueRalf Jung-94/+51
2024-07-29Reformat `use` declarations.Nicholas Nethercote-21/+14
2024-07-22Auto merge of #127442 - saethlin:alloc-decoding-lock, r=oli-obkbors-89/+25
2024-07-21Explain why the new setup can't deadlockBen Kimock-1/+13
2024-07-17Remove in-progress allocation decoding statesBen Kimock-89/+13
2024-07-14Add cache for `allocate_str`Adwin White-6/+11
2024-07-02Miri function identity hack: account for possible inliningRalf Jung-23/+50
2024-05-23Remove `#[macro_use] extern crate tracing` from `rustc_middle`.Nicholas Nethercote-0/+1
2024-05-13interpret: move error macros into error.rsRalf Jung-129/+8
2024-05-13Remove `extern crate rustc_middle` from `rustc_const_eval`.Nicholas Nethercote-11/+27
2024-05-09Remove `TinyList`.Nicholas Nethercote-9/+8
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-03-20resolve clippy errorsonur-ozkan-2/+2
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-1/+11
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-1/+1
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-4/+4
2024-02-15Add new query just for static initializersOli Scherer-5/+6
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-4/+4
2024-01-04Remove unused `struct_error` function.Nicholas Nethercote-6/+5
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-1/+1
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-1/+1
2023-11-19Expand Miri's BorTag GC to a Provenance GCBen Kimock-7/+0
2023-11-16Let Miri see the AllocId for all TyCtxt allocationsBen Kimock-0/+7
2023-10-15more precise error for 'based on misaligned pointer' caseRalf Jung-5/+6
2023-10-15place evaluation: require the original pointer to be aligned if an access hap...Ralf Jung-1/+1
2023-09-19move ConstValue into mirRalf Jung-1/+1
2023-09-18Remove unused `Lift` derives.Nicholas Nethercote-1/+1
2023-09-14don't force all slice-typed ConstValue to be ConstValue::SliceRalf Jung-1/+1
2023-09-14make it more clear which functions create fresh AllocIdRalf Jung-7/+8
2023-08-03Rollup merge of #114372 - RalfJung:const-pointer-as-int, r=oli-obkMatthias Krüger-5/+5
2023-08-02const validation: point at where we found a pointer but expected an integerRalf Jung-5/+5
2023-08-02avoid 'miri' when refering to the shared interpreterRalf Jung-1/+1
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-07-17Auto merge of #113562 - saethlin:larger-incr-comp-offset, r=nnethercotebors-2/+2
2023-07-14Use u64 for incr comp allocation offsetsBen Kimock-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-2/+2
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-3/+28
2023-05-15Suppress "erroneous constant used" for constants tainted by errorsTomasz Miąsko-2/+2
2023-04-26Remove QueryEngine traitJohn Kåre Alsaker-1/+3
2023-04-04Remove a fishy Clone implOli Scherer-1/+2