about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/const_eval/mod.rs
AgeCommit message (Expand)AuthorLines
2025-07-23Remove useless lifetime parameter.Camille GILLOT-1/+1
2025-07-05Stop using Key trait randomlyMichael Goulet-3/+2
2025-06-27Rollup merge of #143096 - RalfJung:tag_for_variant, r=compiler-errorsMatthias Krüger-9/+4
2025-06-27tag_for_variant: properly pass TypingEnvRalf Jung-9/+4
2025-06-27Add InterpCx::layout_of with tracing, shadowing LayoutOfStypox-1/+0
2025-06-26const-eval: allow constants to refer to mutable/external memory, but reject s...Ralf Jung-7/+0
2025-06-05Update `InterpCx::project_field` to take `FieldIdx`Scott McMurray-2/+2
2025-02-03Remove hook calling via `TyCtxtAt`.Nicholas Nethercote-4/+5
2024-11-30report UB when the niche value refers to the untagged variantRalf Jung-1/+3
2024-11-19`InterpCx` store `TypingEnv` instead of a `ParamEnv`lcnr-3/+5
2024-11-03compiler: Directly use rustc_abi in const_evalJubilee Young-1/+1
2024-10-19Get rid of const eval_* and try_eval_* helpersMichael Goulet-1/+1
2024-10-01make InterpResult a dedicated type to avoid accidentally discarding the errorRalf Jung-16/+4
2024-09-23fix unqualified_local_imports in rustc_const_evalRalf Jung-6/+6
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+1
2024-07-18valtree construction: keep track of which type was valtree-incompatibleRalf Jung-5/+5
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-0/+1
2024-03-23tag_for_variant follow-upsRalf Jung-3/+22
2024-03-22Add `tag_for_variant` queryJack Wrenn-0/+2
2024-03-14Move generate_stacktrace_from_stack away from InterpCx to avoid having to kno...Oli Scherer-1/+1
2024-02-21make it possible for outside crates to inspect a mir::ConstValue with the int...Ralf Jung-2/+1
2024-02-10validation: descend from consts into staticsRalf Jung-15/+9
2024-02-10unstably allow constants to refer to statics and read from immutable staticsRalf Jung-41/+16
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-1/+1
2023-11-03Auto merge of #117507 - nnethercote:rustc_span, r=Nilstriebbors-1/+1
2023-11-02Minimize `pub` usage in `source_map.rs`.Nicholas Nethercote-1/+1
2023-11-01Specify diagnostic path.Camille GILLOT-1/+1
2023-11-01Rename hook.Camille GILLOT-1/+1
2023-10-28interpret: call caller_location logic the same way codegen does, and share so...Ralf Jung-16/+2
2023-09-22Add a way to decouple the implementation and the declaration of a TyCtxt method.Oli Scherer-3/+4
2023-09-19move ConstValue into mirRalf Jung-4/+4
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-1/+1
2023-07-25interpret: read_discriminant: only return VariantIdxRalf Jung-1/+1
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-2/+2
2023-07-14refactor(rustc_middle): Substs -> GenericArgMahdi Dibaiee-1/+1
2023-07-05Name the destructure_mir_constant query appropriatelyOli Scherer-1/+1
2023-07-05Use options instead of errors if the errors are never neededOli Scherer-12/+10
2023-07-05Specialize `DestructuredConstant` to its one user (pretty printing)Oli Scherer-1/+1
2023-07-05Specialize `try_destructure_mir_constant` for its sole userOli Scherer-5/+6
2023-06-26Make simd_shuffle_indices use valtreesOli Scherer-1/+0
2023-06-24Add enum for `can_access_statics` booleanNilstrieb-4/+6
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-11/+2
2023-05-31Remove `deref_mir_constant`Oli Scherer-38/+1
2023-05-03Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote-1/+1
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2023-02-14s/eval_usize/eval_target_usize/ for clarityOli Scherer-1/+1
2022-11-16cleanup and dedupe CTFE and Miri error reportingRalf Jung-2/+2
2022-09-19`DestructuredConst` split mir and tylcnr-2/+2