about summary refs log tree commit diff
path: root/compiler/rustc_mir_build/src/build/expr
AgeCommit message (Expand)AuthorLines
2021-03-16Auto merge of #82936 - oli-obk:valtree, r=RalfJung,lcnr,matthewjasperbors-7/+9
2021-03-16Auto merge of #82536 - sexxi-goose:handle-patterns-take-2, r=nikomatsakisbors-28/+92
2021-03-15Fix error after rebaseRoxane-4/+3
2021-03-15Add comments with examples and testsRoxane-33/+53
2021-03-14Only borrow place for matching under specific conditionsRoxane-1/+3
2021-03-14Use the correct FakeReadCauseRoxane-30/+38
2021-03-14Delay use of Place in favor of PlaceBuilderRoxane-14/+24
2021-03-14Introduce new fake readsRoxane-8/+33
2021-03-14Remove duplicate asserts, replace eq assert with assert_eqÖmer Sinan Ağacan-3/+1
2021-03-12Run rustfmtOli Scherer-1/+3
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-7/+7
2021-03-09Take into account `ExprKind::Scope` when calculating span of temporaryLeSeulArtichaut-6/+6
2021-03-09Remove useless references/dereferencesLeSeulArtichaut-132/+119
2021-03-09Make arena allocation for the THIR workLeSeulArtichaut-20/+20
2021-03-09Remove `Clone` impl for `thir::Expr`LeSeulArtichaut-4/+3
2021-03-09Pull `thir::Cx` out of the MIR `Builder`LeSeulArtichaut-47/+53
2021-03-09[WIP] Eagerly construct bodies of THIRLeSeulArtichaut-263/+207
2021-03-05Shrink the size of Rvalue by 16 bytesOli Scherer-8/+11
2021-02-05Run x.py fmt to fix tidy issuesWesley Wiser-1/+0
2021-02-04Revert "Use `record_operands_moved` more aggresively"Felix S. Klock II-14/+2
2021-02-04Revert "Avoid leaking block expression values"Felix S. Klock II-68/+35
2021-02-02Bump rustfmt versionMark Rousskov-72/+90
2021-01-30Rollup merge of #81291 - sexxi-goose:fix-struct-update-functional-record-upda...Yuki Okushi-5/+10
2021-01-22Make functional record update/struct update syntax works inside closures when...Dhruv Jauhar-5/+10
2021-01-16Auto merge of #80290 - RalfJung:less-intrinsic-write, r=lcnrbors-74/+34
2021-01-07Reintroduce hir::ExprKind::IfCaio-0/+37
2020-12-31remove move_val_init leftoversRalf Jung-74/+34
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-3/+3
2020-12-24use matches!() macro in more placesMatthias Krüger-5/+1
2020-12-12Auto merge of #79553 - sexxi-goose:mir_min_cap_writeback, r=nikomatsakisbors-117/+360
2020-12-09Use precise places when lowering Closures in THIRAman Arora-41/+49
2020-12-09Use Places for captures in MIRAman Arora-22/+128
2020-12-09Also generate `StorageDead` in constantsoli-9/+8
2020-12-06Move handling UpvarRef to PlaceBuilderAman Arora-78/+207
2020-12-04Avoid leaking block expression valuesMatthew Jasper-35/+74
2020-12-04Use `record_operands_moved` more aggresivelyMatthew Jasper-3/+15
2020-11-24Use the name "auto traits" everywhere in the compilerCamelid-1/+1
2020-11-17Remove THIR::ExprKind::SelfRefAman Arora-4/+0
2020-11-17Move capture lowering from THIR to MIRAman Arora-0/+82
2020-10-30Fix even more clippy warningsJoshua Nelson-12/+3
2020-10-27Add unsized_fn_params featureSantiago Pastorino-1/+1
2020-10-16Lower inline const down to MIRSantiago Pastorino-1/+7
2020-10-04Defer creating drop trees in MIR lowering until leaving that scopeMatthew Jasper-13/+11
2020-09-07Add CONST_ITEM_MUTATION lintAaron Hill-1/+4
2020-09-04Change ty.kind to a methodLeSeulArtichaut-3/+3
2020-08-30mv compiler to compiler/mark-0/+2083