about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/consts/int.rs
AgeCommit message (Expand)AuthorLines
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
2020-11-04Update compiler/rustc_middle/src/ty/consts/int.rsOli Scherer-1/+1
2020-11-04Simplify `assert_bits` imploli-4/+3
2020-11-04Do not raise interp errors from the scalar int moduleoli-18/+15
2020-11-04Add `is_null` helperoli-0/+5
2020-11-04Explain why we forward to self-printing during self-printingoli-1/+2
2020-11-04catch conversion errors during `ptr_sized_op`oli-1/+1
2020-11-04No need for a `zst` constructor method when we can have a constantoli-5/+0
2020-11-04Update commentoli-3/+2
2020-11-04Unaligned reads are UB in Rust irrelevant on which platform we areoli-4/+4
2020-11-04Remove outdated FIXMEoli-1/+0
2020-11-04Fix cranelift buildoli-0/+14
2020-11-04Explain the use of blocks around `self.data` accessesoli-0/+14
2020-11-04Use packed struct instead of manually packing into an arrayoli-33/+34
2020-11-04Encode `ScalarInt::bytes` as `u128` instead of `[u8; 16]` to see if that caus...Oliver Scherer-1/+15
2020-11-04Split the "raw integer bytes" part out of `Scalar`Oliver Scherer-12/+227
2020-08-30mv compiler to compiler/mark-0/+111