about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/consts/int.rs
AgeCommit message (Expand)AuthorLines
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-3/+3
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-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
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-1/+1
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-2/+2
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
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-121/+101
2024-04-19avoid PartialOrd on ScalarIntRalf Jung-1/+1
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-03-14Add compiler support for parsing `f16` and `f128`Trevor Gross-1/+43
2024-03-11Rename `IntoDiagnosticArg` as `IntoDiagArg`.Nicholas Nethercote-3/+3
2024-02-28Rename `DiagnosticArg{,Map,Name,Value}` as `DiagArg{,Map,Name,Value}`.Nicholas Nethercote-3/+3
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-1/+1
2024-01-26make matching on NaN a hard errorRalf Jung-27/+44
2023-12-15Annotate some more bugsMichael Goulet-2/+2
2023-09-06Support a few more rvalues.Camille GILLOT-0/+5
2023-07-30inline format!() args up to and including rustc_middleMatthias Krüger-1/+1
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-1/+1
2023-06-01Use translatable diagnostics in `rustc_const_eval`Deadbeef-0/+9
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-3/+7
2023-04-09Remove identity castsNilstrieb-1/+1
2023-03-15unequal → not equalgimbles-7/+7
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-1/+1
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-25Add helper method to `ScalarInt`Oli Scherer-0/+12
2022-07-09don't allow ZST in ScalarIntRalf Jung-26/+20
2022-07-02add AllocRange Debug impl; remove redundant AllocId Display implRalf Jung-0/+4
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-3/+3
2022-04-21add some helper methods to ScalarIntb-naber-0/+92
2022-02-20Rollup merge of #94091 - GuillaumeGomez:rustdoc-const-computed-value, r=oli-obkMatthias Krüger-0/+7
2022-02-19Don't render Const computed values in hexadecimal for DisplayGuillaume Gomez-0/+7
2022-02-17Fix ScalarInt to char conversionTomasz Miąsko-4/+14
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-2/+2
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-1/+1
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-10/+1
2021-03-12Add convenience conversion methods for ScalarIntOli Scherer-0/+19
2020-11-09comment attribution fixo752d-1/+1
2020-11-04Make `ScalarInt` entirely independent of MIR interpretationoli-4/+3
2020-11-04Document an `unwrap`oli-1/+4
2020-11-04`u128` truncation and sign extension are not just interpreter relatedoli-6/+6