about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/consts
AgeCommit message (Expand)AuthorLines
2025-08-14Apply suggestions from code reviewRalf Jung-1/+1
2025-08-14avoid unnecessary type sanity checksRalf Jung-8/+4
2025-08-14use ty::Value instead of manual pairs of types and valtreesRalf Jung-4/+10
2025-08-14pattern testing: store constants as valtreesRalf Jung-0/+13
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-3/+3
2025-06-26const-eval: allow constants to refer to mutable/external memory, but reject s...Ralf Jung-1/+7
2025-05-28get rid of rustc_codegen_ssa::common::AtomicOrderingRalf Jung-1/+1
2025-05-28atomic_load intrinsic: use const generic parameter for orderingRalf Jung-1/+33
2025-05-24ScalarInt: support conversion with signed int types and cmp::OrderingRalf Jung-2/+45
2025-04-01Improve docs of ValTreeKindbjorn3-1/+1
2025-03-07compiler: Use size_of from the prelude instead of importedThalia Archibald-2/+2
2025-02-25Teach structured errors to display short `Ty`Esteban Küber-1/+1
2025-02-13intern valtreesLukas Markeffsky-27/+71
2025-02-03Move `try_to_raw_bytes` from `ty::Valtree` to `ty::Value`FedericoBruzzone-24/+23
2025-01-30check the types in `ty::Value` to value conversionLukas Markeffsky-1/+11
2025-01-30introduce `ty::Value`Lukas Markeffsky-7/+44
2024-11-12Consolidate type system const evaluation under `traits::evaluate_const`Boxy-35/+1
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-9/+6
2024-08-11Use assert_matches around the compilerMichael Goulet-4/+6
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-5/+9
2024-07-06Uplift push_outlives_componentsMichael Goulet-0/+7
2024-06-11interpret: ensure we check bool/char for validity when they are used in a castRalf Jung-10/+5
2024-06-10ScalarInt: size mismatches are a bug, do not delay the panicRalf Jung-125/+106
2024-06-05ty::Expr reviewsBoxy-3/+5
2024-06-04Downsize `ty::Expr`Boxy-7/+118
2024-05-13Uplift AliasTyMichael Goulet-26/+4
2024-04-29Remove `extern crate rustc_data_structures` from numerous crates.Nicholas Nethercote-1/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-04-19Auto merge of #124113 - RalfJung:interpret-scalar-ops, r=oli-obkbors-37/+63
2024-04-19avoid PartialOrd on ScalarIntRalf Jung-2/+2
2024-04-19ScalarInt: add methods to assert being a (u)int of given sizeRalf Jung-28/+39
2024-04-18interpret/binary_int_op: avoid dropping to raw ints until we determined the signRalf Jung-8/+23
2024-04-18Simplify `static_assert_size`s.Nicholas Nethercote-4/+1
2024-04-03Check `x86_64` size assertions on `aarch64`, tooZalathar-2/+2
2024-03-27Remove `Ord` from `Ty`, `Const`, and `Region`Oli Scherer-2/+2
2024-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-1/+43
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-6/+6
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-4/+4
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-13/+10
2024-02-15Use generic `NonZero` internally.Markus Reiter-12/+15
2024-02-05Rollup merge of #116284 - RalfJung:no-nan-match, r=cjgillotMatthias Krüger-27/+44
2024-01-30Remove the lifetime from `DiagnosticArgValue`.Nicholas Nethercote-2/+2
2024-01-26make matching on NaN a hard errorRalf Jung-27/+44
2023-12-15Annotate some more bugsMichael Goulet-2/+2
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-2/+2
2023-11-20Uplift InferConst to rustc_type_irMichael Goulet-26/+0
2023-10-24Get rid of 'tcx on ConstVid, EffectVidMichael Goulet-4/+4
2023-09-18Remove unused `Lift` derives.Nicholas Nethercote-1/+1