about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src
AgeCommit message (Expand)AuthorLines
2022-08-26Auto merge of #100944 - nnethercote:shrink-thir-Expr, r=cjgillotbors-71/+104
2022-08-25Rollup merge of #99954 - dingxiangfei2009:break-out-let-else-higher-up, r=oli...Yuki Okushi-2/+19
2022-08-24Rename `thir::Adt` as `thir::AdtExpr`.Nicholas Nethercote-7/+12
2022-08-24Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote-3/+3
2022-08-24Box `thir::ExprKind::Closure`.Nicholas Nethercote-4/+16
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-27/+39
2022-08-24Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote-31/+35
2022-08-23Only compute captures once when building MIR.Camille GILLOT-152/+84
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-2/+2
2022-08-22Auto merge of #100881 - Dylan-DPC:rollup-q9rr658, r=Dylan-DPCbors-4/+19
2022-08-22Rollup merge of #98200 - ouz-a:issue-98177, r=oli-obkDylan DPC-4/+19
2022-08-22Fix span for consts in mir builderNilstrieb-3/+13
2022-08-19Rollup merge of #100081 - RalfJung:unused-unsafe-in-unsafe-fn, r=jackh726Dylan DPC-4/+5
2022-08-12Adjust cfgsMark Rousskov-1/+0
2022-08-11Rollup merge of #99110 - audunhalland:match_has_guard_from_candidate, r=pnkfelixDylan DPC-1/+1
2022-08-10Rollup merge of #100240 - cjgillot:noice-structural-match, r=davidtwcoMatthias Krüger-1/+6
2022-08-09suggest adding an appropriate missing pattern excluding commentsTakayuki Maeda-14/+14
2022-08-07Fail gracefully when const pattern is not structural match.Camille GILLOT-1/+6
2022-08-06Rollup merge of #100132 - compiler-errors:issue-100103, r=tmiaskoMatthias Krüger-1/+1
2022-08-04Rollup merge of #100093 - wcampbell0x2a:unused-parens-for-match-arms, r=petro...Matthias Krüger-1/+1
2022-08-04Enable unused_parens for match armswcampbell-1/+1
2022-08-04Auto merge of #99843 - oli-obk:is_useful_perf, r=compiler-errorsbors-46/+43
2022-08-04Use (actually) dummy place for let-else divergenceMichael Goulet-1/+1
2022-08-02add link to discussionRalf Jung-1/+2
2022-08-02never consider unsafe blocks unused if they would be required with unsafe_op_...Ralf Jung-4/+4
2022-08-01Remove trait_of_item query.Camille GILLOT-1/+1
2022-08-01Remove DefId from AssocItemContainer.Camille GILLOT-6/+4
2022-08-01Rollup merge of #99911 - cjgillot:no-guess, r=davidtwcoMatthias Krüger-8/+3
2022-07-31provide a clearer explanation of scope breakingDing Xiang Fei-1/+3
2022-07-31Rollup merge of #99186 - camsteffen:closure-localdefid, r=cjgillotDylan DPC-14/+10
2022-07-30Use LocalDefId for closures moreCameron Steffen-14/+10
2022-07-31break out to one scope higher for let-elseDing Xiang Fei-2/+17
2022-07-30Rollup merge of #99311 - kckeiks:clean-up-body-owner-methods, r=cjgillotDylan DPC-3/+3
2022-07-30Rollup merge of #99518 - dingxiangfei2009:let-else-additional-tests, r=oli-obkYuki Okushi-42/+49
2022-07-29Change enclosing_body_owner to return LocalDefIdMiguel Guarniz-1/+1
2022-07-29Rename local_did to def_idMiguel Guarniz-1/+1
2022-07-29Change maybe_body_owned_by to take local def idMiguel Guarniz-2/+2
2022-07-29Use DefKind instead of FnKind for recursion lint.Camille GILLOT-7/+2
2022-07-28Remove guess_head_span.Camille GILLOT-1/+1
2022-07-28Pass PatCtxt instead of passing MatchCtxt + Ty separatelyOli Scherer-25/+22
2022-07-28Don't pass (the rather large) `PatCtxt` by valueOli Scherer-17/+17
2022-07-28Move constructor into the branch that actually uses itOli Scherer-5/+5
2022-07-27Rollup merge of #99651 - compiler-errors:fn-and-raw-ptr-in-const-generics, r=...Guillaume Gomez-31/+29
2022-07-25avoid `&str`/`Symbol` to `String` conversionsTakayuki Maeda-1/+1
2022-07-25Remove non-descriptive boolean from search_for_structural_match_violationMichael Goulet-31/+29
2022-07-25Get rid of redundant NonStructuralMatchTyKindMichael Goulet-17/+11
2022-07-25Deeply deny fn and raw ptrs in const genericsMichael Goulet-1/+7
2022-07-21break out scopes when let-else fails to matchDing Xiang Fei-42/+49
2022-07-20Revert "Rollup merge of #98582 - oli-obk:unconstrained_opaque_type, r=estebank"Oli Scherer-162/+175
2022-07-17use body's param-env when checking if type needs dropMichael Goulet-2/+2