summaryrefslogtreecommitdiff
path: root/compiler/rustc_mir_build/src
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-164-54/+84
|\
| * Document how constants as opaque patterns behave differently.Oli Scherer2023-05-162-4/+20
| * Update some commentsOli Scherer2023-05-151-9/+5
| * Always fall back to PartialEq when a constant in a pattern is not recursively...Oli Scherer2023-05-152-36/+51
| * Unnest a variable in prep for the next commit which needs access to the placeOli Scherer2023-05-151-5/+8
* | Rollup merge of #111587 - cbeuw:copy-for-deref, r=oli-obkMatthias Krüger2023-05-151-0/+1
|\ \
| * | Add CopyForDeref to custom MIRAndy Wang2023-05-151-0/+1
| |/
* | Rollup merge of #111578 - Zoxc:query-macro-move, r=cjgillotMatthias Krüger2023-05-151-1/+1
|\ \ | |/ |/|
| * Move expansion of query macros in rustc_middle to rustc_middle::queryJohn Kåre Alsaker2023-05-151-1/+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-112-12/+17
|\
| * Bail out of MIR construction if `check_match` failsclubby7892023-04-302-12/+17
* | 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
* | | Auto merge of #110806 - WaffleLapkin:unmkI, r=lcnrbors2023-05-041-1/+1
|\ \ \
| * | | Replace `tcx.mk_trait_ref` with `ty::TraitRef::new`Maybe Waffle2023-04-251-1/+1
| | |/ | |/|
* | | Restrict `From<S>` for `{D,Subd}iagnosticMessage`.Nicholas Nethercote2023-05-032-7/+7
* | | Auto merge of #111082 - saethlin:box-assertkind, r=saethlinbors2023-05-021-1/+1
|\ \ \
| * | | Box AssertKindBen Kimock2023-05-011-1/+1
| | |/ | |/|
* | | fix doc test in mir_build for removing type ascriptionyukang2023-05-011-2/+1
|/ /
* | Rollup merge of #111015 - cjgillot:chained-let-and, r=compiler-errorsMatthias Krüger2023-05-011-3/+0
|\ \ | |/ |/|
| * Remove wrong assertion.Camille GILLOT2023-04-301-3/+0
* | Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle2023-04-2410-10/+10
* | 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-227-2/+31
|\ \ | |/ |/|
| * minor tweaksDrMeepster2023-04-212-3/+3
| * intern offsetof fieldsDrMeepster2023-04-212-3/+3
| * offset_ofDrMeepster2023-04-217-4/+33
* | Remove WithOptconstParam.Camille GILLOT2023-04-207-97/+53
|/
* Auto merge of #110407 - Nilstrieb:fluent-macro, r=davidtwcobors2023-04-191-1/+1
|\
| * Add `rustc_fluent_macro` to decouple fluent from `rustc_macros`Nilstrieb2023-04-181-1/+1
* | Spelling - compilerJosh Soref2023-04-173-9/+9
|/
* use matches! macro in more placesMatthias Krüger2023-04-162-11/+4
* 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
* | Auto merge of #110249 - matthiaskrgr:rollup-7iig04q, r=matthiaskrgrbors2023-04-122-12/+12
|\ \
| * | Fix typos in compilerDaniPopes2023-04-102-12/+12
| |/
* | Add Offset binary op to custom mirAndy Wang2023-04-111-0/+5
|/
* Auto merge of #102906 - nbdd0121:mir, r=wesleywiser,tmiaskobors2023-04-076-23/+50
|\
| * Fix new usage of old apiGary Guo2023-04-062-4/+4
| * Rename `Abort` terminator to `Terminate`Gary Guo2023-04-062-2/+2
| * Add `UnwindAction::Terminate`Gary Guo2023-04-062-2/+6
| * Refactor unwind from Option to a new enumGary Guo2023-04-065-17/+40
* | Auto merge of #108504 - cjgillot:thir-pattern, r=compiler-errors,Nilstriebbors2023-04-0610-478/+397
|\ \ | |/ |/|
| * Rename hir_id to lint_root.Camille GILLOT2023-04-032-10/+18
| * Only emit lint on refutable patterns.Camille GILLOT2023-04-032-8/+10