summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/intern.rs
AgeCommit message (Expand)AuthorLines
2025-03-07Pass `Option<Symbol>` to `def_path_data`/`create_def` methods.Nicholas Nethercote-1/+1
2025-02-22Greatly simplify lifetime captures in edition 2024Michael Goulet-2/+2
2025-02-08Rustfmtbjorn3-5/+5
2024-11-19`InterpCx` store `TypingEnv` instead of a `ParamEnv`lcnr-1/+1
2024-11-19move `fn is_item_raw` to `TypingEnv`lcnr-1/+1
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-4/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-6/+6
2024-09-10turn errors that should be impossible due to our static checks into ICEsRalf Jung-20/+32
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-7/+11
2024-06-13rename CompileTimeInterpreter -> CompileTimeMachine, CompileTimeEvalContext -...Ralf Jung-1/+1
2024-06-04Add safe/unsafe to static inside extern blocksSantiago Pastorino-1/+1
2024-05-27interpret: get rid of 'mir lifetime everywhereRalf Jung-24/+9
2024-05-27interpret: the MIR is actually at lifetime 'tcxRalf Jung-1/+1
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-1/+1
2024-04-17Use less fragile error handlingOli Scherer-15/+11
2024-04-17Validate before reporting interning errors.Oli Scherer-20/+25
2024-04-02Forbid implicit nested statics in thread local staticsOli Scherer-1/+5
2024-03-31Don't inherit codegen attrs from parent staticMichael Goulet-3/+8
2024-03-20Rollup merge of #121543 - onur-ozkan:clippy-args, r=oli-obkMatthias Krüger-1/+3
2024-03-20resolve clippy errorsonur-ozkan-1/+3
2024-03-19Ensure nested statics have a HIR node to prevent various queries from ICEingOli Scherer-0/+2
2024-03-14Move only usage of `take_static_root_alloc` to its definition and inline itOli Scherer-1/+1
2024-03-13placate tidy.Felix S. Klock II-1/+1
2024-03-13downgrade mutable-ptr-in-final-value from hard-error to future-incompat lint ...Felix S. Klock II-4/+8
2024-03-12s/mt/mutability/Oli Scherer-1/+1
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-3/+44
2024-02-23compiler: clippy::complexity fixesMatthias Krüger-2/+2
2024-02-15Do not allocate a second "background" alloc id for the main allocation of a s...Oli Scherer-5/+27
2024-02-13Bump `indexmap`clubby789-1/+2
2024-02-05Clarify order of operations during interningOli Scherer-0/+7
2024-01-29Document base vs nested alloc interningOli Scherer-0/+3
2024-01-29separately intern the outermost alloc from the restOli Scherer-41/+39
2024-01-29Prefer external iteration now that we don't actually recurse anymoreOli Scherer-22/+16
2024-01-22reword commentRalf Jung-7/+10
2024-01-22const-eval interner: from-scratch rewrite using mutability information from p...Ralf Jung-407/+150
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-5/+5
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-11/+13
2023-12-02Rename `HandlerInner::delay_span_bug` as `HandlerInner::span_delayed_bug`.Nicholas Nethercote-4/+4
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
2023-10-25Rename has_provance and tweaks comments.Camille GILLOT-1/+4
2023-10-25Take an AllocId in intern_const_alloc_for_constprop.Camille GILLOT-2/+1
2023-10-25Move provenance checks out of interning method.Camille GILLOT-12/+2
2023-10-25Directly intern values instead of copying them.Camille GILLOT-0/+44
2023-10-15separate bounds-check from alignment checkRalf Jung-2/+2
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-1/+1
2023-09-14use AllocId instead of Allocation in ConstValue::ByRefRalf Jung-5/+9
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-6/+6
2023-08-27miri/diagnostics: don't forget to print_backtrace when ICEing on unexpected e...Ralf Jung-1/+2
2023-07-25make MPlaceTy non-CopyRalf Jung-2/+2