summaryrefslogtreecommitdiff
path: root/compiler/rustc_mir_build/src/build
Commit message (Expand)AuthorAgeFilesLines
* Erase regions of type in `offset_of!`clubby7892023-05-161-3/+4
* Auto merge of #105750 - oli-obk:valtrees, r=lcnrbors2023-05-161-10/+39
|\
| * Always fall back to PartialEq when a constant in a pattern is not recursively...Oli Scherer2023-05-151-5/+31
| * Unnest a variable in prep for the next commit which needs access to the placeOli Scherer2023-05-151-5/+8
* | Add CopyForDeref to custom MIRAndy Wang2023-05-151-0/+1
|/
* Auto merge of #111570 - compiler-errors:ct-err, r=BoxyUwUbors2023-05-151-1/+1
|\
| * Rename const error methods for consistencyMichael Goulet2023-05-141-1/+1
* | Implement references VarDebugInfo.Camille GILLOT2023-05-132-0/+4
|/
* Rollup merge of #108705 - clubby789:refutable-let-closure-borrow, r=cjgillotMatthias Krüger2023-05-111-1/+3
|\
| * Bail out of MIR construction if `check_match` failsclubby7892023-04-301-1/+3
* | Rollup merge of #108801 - fee1-dead-contrib:c-str, r=compiler-errorsDylan DPC2023-05-051-0/+6
|\ \
| * | update and add a few testsDeadbeef2023-05-021-0/+6
| |/
* | Box AssertKindBen Kimock2023-05-011-1/+1
|/
* Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle2023-04-245-5/+5
* Auto merge of #108118 - oli-obk:lazy_typeck, r=cjgillotbors2023-04-231-0/+7
|\
| * Run `check_match` and `check_liveness` when MIR is built instead of having an...Oli Scherer2023-04-211-0/+7
* | Auto merge of #106934 - DrMeepster:offset_of, r=WaffleLapkinbors2023-04-224-2/+9
|\ \ | |/ |/|
| * minor tweaksDrMeepster2023-04-211-2/+2
| * intern offsetof fieldsDrMeepster2023-04-211-2/+2
| * offset_ofDrMeepster2023-04-214-4/+11
* | Remove WithOptconstParam.Camille GILLOT2023-04-202-49/+29
|/
* Spelling - compilerJosh Soref2023-04-172-8/+8
* Auto merge of #109466 - davidlattimore:inline-arg-via-var-debug-info, r=wesle...bors2023-04-132-1/+5
|\
| * Preserve argument indexes when inlining MIRDavid Lattimore2023-04-112-1/+5
* | Add Offset binary op to custom mirAndy Wang2023-04-111-0/+5
|/
* Auto merge of #102906 - nbdd0121:mir, r=wesleywiser,tmiaskobors2023-04-075-20/+45
|\
| * Fix new usage of old apiGary Guo2023-04-062-4/+4
| * Rename `Abort` terminator to `Terminate`Gary Guo2023-04-061-1/+1
| * Add `UnwindAction::Terminate`Gary Guo2023-04-062-2/+6
| * Refactor unwind from Option to a new enumGary Guo2023-04-064-15/+36
* | Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors2023-04-062-0/+3
|\ \ | |/ |/|
| * Perform match checking on THIR.Camille GILLOT2023-04-031-0/+1
| * Add Span to StmtKind::Let.Camille GILLOT2023-04-031-0/+2
* | Use `&IndexSlice` instead of `&IndexVec` where possibleScott McMurray2023-04-024-9/+9
|/
* Auto merge of #109849 - scottmcm:more-fieldidx-rebase, r=oli-obkbors2023-04-023-15/+11
|\
| * Use `FieldIdx` in various things related to aggregatesScott McMurray2023-04-013-15/+11
* | use and_then/flat_map for map().flatten()Matthias Krüger2023-04-011-3/+3
|/
* Update `ty::VariantDef` to use `IndexVec<FieldIdx, FieldDef>`Scott McMurray2023-03-301-1/+1
* Move `mir::Field` → `abi::FieldIdx`Scott McMurray2023-03-285-8/+11
* Bless tidyMaybe Waffle2023-03-271-1/+1
* Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray2023-03-251-4/+2
* Auto merge of #108442 - scottmcm:mir-transmute, r=oli-obkbors2023-03-231-0/+4
|\
| * Add `CastKind::Transmute` to MIRScott McMurray2023-03-221-0/+4
* | Auto merge of #109517 - matthiaskrgr:rollup-m3orqzd, r=matthiaskrgrbors2023-03-231-23/+33
|\ \
| * \ Rollup merge of #109475 - scottmcm:simpler-shifts, r=WaffleLapkinMatthias Krüger2023-03-231-23/+33
| |\ \ | | |/ | |/|
| | * Generate simpler MIR for shiftsScott McMurray2023-03-221-23/+33
* | | rustc: Remove unused `Session` argument from some attribute functionsVadim Petrochenkov2023-03-221-1/+2
|/ /
* | Auto merge of #109119 - lcnr:trait-system-cleanup, r=compiler-errorsbors2023-03-221-2/+2
|\ \ | |/ |/|
| * remove some trait solver helperslcnr2023-03-211-2/+2
* | Use builtin_index instead of matchAndy Wang2023-03-201-5/+2