summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/transform/validate.rs
AgeCommit message (Expand)AuthorLines
2023-02-27Auto merge of #108175 - cjgillot:validate-storage, r=tmiaskobors-2/+20
2023-02-25Explain that this is UB catching instead of malformed MIR.Camille GILLOT-0/+7
2023-02-25MIR-Validate StorageLive.Camille GILLOT-2/+13
2023-02-24Rename many interner functions.Nicholas Nethercote-1/+1
2023-02-22Remove type-traversal trait aliasesAlan Egerton-1/+1
2023-02-16remove bound_type_of query; make type_of return EarlyBinder; change type_of i...Kyle Matsuda-1/+1
2023-02-10revert #107074lcnr-1/+10
2023-02-02Stop deaggregating enums in MIR.Camille GILLOT-17/+5
2023-01-30Replace some `_ == _ || _ == _`s with `matches!(_, _ | _)`sMaybe Waffle-1/+1
2023-01-29Auto merge of #106227 - bryangarza:ctfe-limit, r=oli-obkbors-0/+1
2023-01-27Remember where a type was kept in MIR.Camille GILLOT-2/+2
2023-01-23Create stable metric to measure long computation in Const EvalBryan Garza-0/+1
2023-01-19remove unnecessary check for opaque typeslcnr-6/+1
2023-01-16Avoid trivial checks on cleanup control flow in MIR validatorJakob Degen-4/+11
2023-01-16Add cycle checking to cleanup control flow validationJakob Degen-18/+47
2023-01-16Document wf constraints on control flow in cleanup blocksJakob Degen-5/+57
2022-12-21Forbid `RetagKind::TwoPhase` as wellJakob Degen-2/+2
2022-12-21Clarify that raw retags are not permitted in MirJakob Degen-3/+6
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-1/+1
2022-12-14Auto merge of #104986 - compiler-errors:opaques, r=oli-obkbors-2/+2
2022-12-13Combine projection and opaque into aliasMichael Goulet-2/+2
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-1/+1
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-1/+1
2022-12-13Don't require owned data in `MaybeStorageLive`Jakob Degen-2/+2
2022-12-09Remove unneeded field from `SwitchTargets`Jakob Degen-11/+2
2022-12-08validate: use the correct reveal during optslcnr-1/+5
2022-11-25Make the ICEs in the mir typechecker have more spans helpfulOli Scherer-0/+1
2022-11-25More manual formattingOli Scherer-5/+5
2022-11-15mv utility methods into separate modulelcnr-53/+1
2022-11-15nll: correctly deal with bivariancelcnr-44/+41
2022-10-27Accept `TyCtxt` instead of `TyCtxtAt` in `Ty::is_*` functionsMaybe Waffle-2/+1
2022-10-25Rollup merge of #103122 - ouz-a:mir-technical-debt, r=oli-obkDylan DPC-5/+20
2022-10-23remove misc_cast and validate typesouz-a-5/+20
2022-10-15Surround type with backticksGimgim-1/+1
2022-10-08Rollup merge of #102675 - ouz-a:mir-technical-debt, r=oli-obkMatthias Krüger-8/+8
2022-10-07Change InferCtxtBuilder from enter to buildCameron Steffen-1/+1
2022-10-06Remove `mir::CastKind::Misc`ouz-a-8/+8
2022-09-19remove the `Subst` trait, always use `EarlyBinder`lcnr-1/+0
2022-09-13Address code review commentsEric Holk-1/+1
2022-09-12dyn* through more typechecking and MIREric Holk-0/+3
2022-09-08Auto merge of #101437 - compiler-errors:erase-normalize-ordering, r=tmandrybors-14/+15
2022-09-06Generalize the Assume intrinsic statement to a general Intrinsic statementOli Scherer-9/+8
2022-09-06Lower the assume intrinsic to a MIR statementOli Scherer-0/+9
2022-09-05Normalize before erasing late-bound regions in equal_up_to_regionsMichael Goulet-14/+15
2022-09-02Rollup merge of #100121 - Nilstrieb:mir-validator-param-env, r=oli-obkMatthias Krüger-5/+12
2022-08-30Refactor MIR phasesJakob Degen-18/+20
2022-08-29Only normalize once in mir validator typecheckerNilstrieb-15/+10
2022-08-29Try normalizing types without RevealAll in ParamEnv in mir validationNilstrieb-8/+20
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-4/+4
2022-08-21Also validate types before inlining.Camille GILLOT-16/+14