summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build
AgeCommit message (Expand)AuthorLines
2022-10-20Ensure enum cast movesGary Guo-2/+2
2022-10-05fix doc and dedup diverge_cleanupDing Xiang Fei-23/+4
2022-10-05apply suggestionX-1/+1
2022-10-05fix unwind drop glue for if-then scopesDing Xiang Fei-10/+46
2022-10-04avoid duplicating StorageLive in let-elseDing Xiang Fei-9/+33
2022-09-17Auto merge of #98588 - b-naber:valtrees-cleanup, r=lcnrbors-11/+6
2022-09-15add diagram to explain the MIR structureDing Xiang Fei-0/+53
2022-09-15add explanatory noteDing Xiang Fei-0/+15
2022-09-15supplement for the missing or incomplete commentsDing Xiang Fei-1/+4
2022-09-15reorder nesting scopes and declare bindings without drop scheduleDing Xiang Fei-56/+101
2022-09-14Auto merge of #101212 - eholk:dyn-star, r=compiler-errorsbors-0/+2
2022-09-14address review againb-naber-11/+6
2022-09-13Also compute implicit params in THIR.Camille GILLOT-79/+35
2022-09-13Compute explicit MIR params on THIR.Camille GILLOT-54/+13
2022-09-13Simplify MIR building entry.Camille GILLOT-281/+250
2022-09-13Use tcx.hir() utils for spans in MIR building.Camille GILLOT-43/+16
2022-09-13Only keep one version of ImplicitSelfKind.Camille GILLOT-8/+2
2022-09-12Call destructors when dyn* object goes out of scopeEric Holk-4/+1
2022-09-12dyn* through more typechecking and MIREric Holk-0/+5
2022-09-10Auto merge of #100968 - cjgillot:mir-upvar-vec, r=wesleywiserbors-152/+83
2022-09-10Remove unused temp.Camille Gillot-2/+1
2022-09-06Shrink span for bindings with subpatterns.Camille GILLOT-1/+1
2022-09-02Use boxed slices in `PatKind`.Nicholas Nethercote-3/+3
2022-09-02Box `CanonicalUserTypeAnnotation::CanonicalUserType`.Nicholas Nethercote-12/+12
2022-09-02Box `PatKind::Range`.Nicholas Nethercote-14/+14
2022-09-02Avoid some clones.Nicholas Nethercote-6/+9
2022-09-02Clean up THIR patterns.Nicholas Nethercote-36/+33
2022-09-01Directly use the `instrument` macro instead of its full pathOli Scherer-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-1/+1
2022-08-29Rollup merge of #99027 - tmiasko:basic-blocks, r=oli-obkMatthias Krüger-1/+1
2022-08-26Replace `Body::basic_blocks()` with field accessTomasz Miąsko-1/+1
2022-08-26Auto merge of #100944 - nnethercote:shrink-thir-Expr, r=cjgillotbors-40/+61
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-2/+7
2022-08-24Box `thir::ExprKind::InlineAsm`.Nicholas Nethercote-1/+1
2022-08-24Box `thir::ExprKind::Closure`.Nicholas Nethercote-1/+7
2022-08-24Store blocks in `Thir`.Nicholas Nethercote-19/+29
2022-08-24Box `user_ty` fields in `thir::ExprKind`.Nicholas Nethercote-18/+18
2022-08-23Only compute captures once when building MIR.Camille GILLOT-152/+84
2022-08-23Remove the symbol from `ast::LitKind::Err`.Nicholas Nethercote-1/+1
2022-08-22Fix span for consts in mir builderNilstrieb-3/+13
2022-08-11Rollup merge of #99110 - audunhalland:match_has_guard_from_candidate, r=pnkfelixDylan DPC-1/+1
2022-08-04Use (actually) dummy place for let-else divergenceMichael Goulet-1/+1
2022-07-31provide a clearer explanation of scope breakingDing Xiang Fei-1/+3
2022-07-30Use LocalDefId for closures moreCameron Steffen-13/+9
2022-07-31break out to one scope higher for let-elseDing Xiang Fei-2/+17
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-122/+145
2022-07-15Allow destructuring opaque types, since the patterns constrain the opaque typesOli Scherer-6/+33
2022-07-15Some tracing helpersOli Scherer-0/+3