summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build
AgeCommit message (Expand)AuthorLines
2023-05-25Remove DesugaringKind::Replace.Camille GILLOT-4/+6
2023-05-25Auto merge of #111925 - Manishearth:rollup-z6z6l2v, r=Manishearthbors-5/+5
2023-05-24Rollup merge of #111841 - matthewjasper:validate-match-guards, r=compiler-errorsMatthias Krüger-2/+6
2023-05-24Use `Option::is_some_and` and `Result::is_ok_and` in the compilerMaybe Waffle-5/+5
2023-05-23Rollup merge of #111579 - scottmcm:enum-as-signed, r=oli-obkDylan DPC-43/+58
2023-05-23Rollup merge of #111501 - WaffleLapkin:drivebycleanupuwu, r=oli-obkDylan DPC-12/+15
2023-05-22Run AST validation on match guards correctlyMatthew Jasper-2/+6
2023-05-20don't skip inference for type in `offset_of!`Lukas Markeffsky-4/+3
2023-05-18Also assume wrap-around discriminants in `as` MIR buildingScott McMurray-43/+58
2023-05-17`rustc_mir_build`: drive-by-cleaup: replace nested ifs with a `match`Maybe Waffle-6/+9
2023-05-17`rustc_mir_build`: drive-by-cleanup: remove some local mutable stateMaybe Waffle-6/+6
2023-05-16Erase regions of type in `offset_of!`clubby789-3/+4
2023-05-16Auto merge of #105750 - oli-obk:valtrees, r=lcnrbors-10/+39
2023-05-15Always fall back to PartialEq when a constant in a pattern is not recursively...Oli Scherer-5/+31
2023-05-15Unnest a variable in prep for the next commit which needs access to the placeOli Scherer-5/+8
2023-05-15Add CopyForDeref to custom MIRAndy Wang-0/+1
2023-05-15Auto merge of #111570 - compiler-errors:ct-err, r=BoxyUwUbors-1/+1
2023-05-14Rename const error methods for consistencyMichael Goulet-1/+1
2023-05-13Implement references VarDebugInfo.Camille GILLOT-0/+4
2023-05-11Rollup merge of #108705 - clubby789:refutable-let-closure-borrow, r=cjgillotMatthias Krüger-1/+3
2023-05-05Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC-0/+6
2023-05-02update and add a few testsDeadbeef-0/+6
2023-05-01Box AssertKindBen Kimock-1/+1
2023-04-30Bail out of MIR construction if `check_match` failsclubby789-1/+3
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-5/+5
2023-04-23Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillotbors-0/+7
2023-04-22Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors-2/+9
2023-04-21Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer-0/+7
2023-04-21minor tweaksDrMeepster-2/+2
2023-04-21intern offsetof fieldsDrMeepster-2/+2
2023-04-21offset_ofDrMeepster-4/+11
2023-04-20Remove WithOptconstParam.Camille GILLOT-49/+29
2023-04-17Spelling - compilerJosh Soref-8/+8
2023-04-13Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesle...bors-1/+5
2023-04-11Add Offset binary op to custom mirAndy Wang-0/+5
2023-04-11Preserve argument indexes when inlining MIRDavid Lattimore-1/+5
2023-04-07Auto merge of #102906 - nbdd0121:mir, r=wesleywiser,tmiaskobors-20/+45
2023-04-06Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors-0/+3
2023-04-06Fix new usage of old apiGary Guo-4/+4
2023-04-06Rename `Abort` terminator to `Terminate`Gary Guo-1/+1
2023-04-06Add `UnwindAction::Terminate`Gary Guo-2/+6
2023-04-06Refactor unwind from Option to a new enumGary Guo-15/+36
2023-04-03Perform match checking on THIR.Camille GILLOT-0/+1
2023-04-03Add Span to StmtKind::Let.Camille GILLOT-0/+2
2023-04-02Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray-9/+9
2023-04-02Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obkbors-15/+11
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-15/+11
2023-04-01use and_then/flat_map for map().flatten()Matthias Krüger-3/+3
2023-03-30Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray-1/+1
2023-03-28Move `mir::Field` → `abi::FieldIdx`Scott McMurray-8/+11