about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/ty/consts
AgeCommit message (Expand)AuthorLines
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-3/+3
2022-04-21implement valtree -> constvalue conversionb-naber-0/+3
2022-04-21add helper methods on ValTreeb-naber-0/+16
2022-04-21add some helper methods to ScalarIntb-naber-0/+92
2022-04-16Rollup merge of #95426 - b-naber:valtrees-slice, r=RalfJung,oli-obkDylan DPC-1/+1
2022-04-08create leafs for slicesb-naber-28/+0
2022-04-02rebase and use ty::Const in patterns againb-naber-5/+1
2022-04-02do use ty::Const in patterns and abstract constsb-naber-1/+6
2022-04-02change thir to use mir::ConstantKind instead of ty::Constb-naber-1/+1
2022-03-29Add type for slices in ValTreesb-naber-1/+29
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-2/+2
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
2022-01-15nyahggdshjjghsdfhgsfEllen-0/+3
2022-01-15attempt to re-add `ty::Unevaluated` visitor and friendsEllen-13/+35
2022-01-15initial revertEllen-59/+14
2021-12-15Remove `in_band_lifetimes` from `rustc_middle`Aaron Hill-2/+2
2021-08-26inline stufflcnr-0/+4
2021-08-26shrink `ty::PredicateKind` againlcnr-5/+24
2021-08-26use `ty::Unevaluated` instead of def substs pairlcnr-1/+1
2021-08-26update `TypeFlags` to deal with missing ct substslcnr-0/+6
2021-08-26make unevaluated const substs optionallcnr-11/+27
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-10/+1
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-3/+2
2021-03-20update `const_eval_resolve`lcnr-1/+2
2021-03-20extract `ConstKind::Unevaluated` into a structlcnr-4/+12
2021-03-16Update compiler/rustc_middle/src/ty/consts/valtree.rsOli Scherer-1/+1
2021-03-16Update compiler/rustc_middle/src/ty/consts/valtree.rsOli Scherer-1/+2
2021-03-15Pacify tidyOli Scherer-1/+1
2021-03-15Do not expose fallible `to_int` operation on `Scalar`.Oli Scherer-1/+1
2021-03-15Document valtreeOli Scherer-0/+18
2021-03-12Add convenience conversion methods for ScalarIntOli Scherer-2/+30
2021-03-12Intern valtree field vectorOli Scherer-5/+5
2021-03-12Implement valtreeOli Scherer-0/+15
2021-03-06Change x64 size checks to not apply to x32.Harald van Dijk-1/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-1/+1
2020-11-16compiler: fold by valueBastian Kauschke-2/+2
2020-11-13Rollup merge of #78463 - varkor:placeholder-const, r=nikomatsakisGuillaume Gomez-1/+1
2020-11-12Add type to `ConstKind::Placeholder`varkor-1/+1
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