about summary refs log tree commit diff
path: root/compiler/rustc_mir_build
AgeCommit message (Expand)AuthorLines
2020-12-13Rollup merge of #79940 - matthiaskrgr:cl15ppy, r=Dylan-DPCYuki Okushi-2/+3
2020-12-12Auto merge of #79553 - sexxi-goose:mir_min_cap_writeback, r=nikomatsakisbors-139/+420
2020-12-11use if let Some(x) = .. instead of ...map(|x|) to conditionally run fns that...Matthias Krüger-2/+3
2020-12-09Use precise places when lowering Closures in THIRAman Arora-63/+109
2020-12-09Use Places for captures in MIRAman Arora-22/+128
2020-12-09Also generate `StorageDead` in constantsoli-41/+16
2020-12-06Move handling UpvarRef to PlaceBuilderAman Arora-78/+207
2020-12-06Retain assembly operands span when lowering AST to HIRTomasz Miąsko-1/+1
2020-12-04Avoid leaking block expression valuesMatthew Jasper-149/+288
2020-12-04Use `record_operands_moved` more aggresivelyMatthew Jasper-5/+17
2020-12-04Simplify unscheduling of drops after movesMatthew Jasper-30/+22
2020-12-04Inline `is_covered_by`Nadrieril-0/+2
2020-11-28Don't store `ty` and `span` in `IntRange`Nadrieril-66/+56
2020-11-28Correctly detect `usize`/`isize` range overlapsNadrieril-29/+12
2020-11-27Rename `_match` to `usefulness`Nadrieril-4/+4
2020-11-27Rename `pat_constructor` to `Constructor::from_pat`Nadrieril-63/+63
2020-11-27Move the definitions of the two `Ctxt`s to the topNadrieril-47/+46
2020-11-27Extract everything related to pattern deconstruction to a new moduleNadrieril-1387/+1413
2020-11-27No need to expose `Matrix` internalsNadrieril-1/+6
2020-11-27Disentangle `Fields` and `PatStack`Nadrieril-17/+16
2020-11-27Move `Constructor::apply` to `Fields`Nadrieril-93/+89
2020-11-26Rollup merge of #79421 - camelid:_match-docs-fmt, r=petrochenkovJonas Schievink-22/+31
2020-11-25Fix docs formatting for `thir::pattern::_match`Camelid-22/+31
2020-11-24Use the name "auto traits" everywhere in the compilerCamelid-1/+1
2020-11-22Auto merge of #79243 - Nadrieril:consolidate-tests, r=varkorbors-0/+1
2020-11-19Regroup many usefulness-related test in the same folderNadrieril-0/+1
2020-11-19Rollup merge of #79149 - sexxi-goose:upvar_ref, r=nikomatsakisDylan DPC-124/+108
2020-11-18Auto merge of #78995 - Nadrieril:clean-empty-match, r=varkorbors-111/+141
2020-11-17Remove THIR::ExprKind::SelfRefAman Arora-6/+0
2020-11-17Move capture lowering from THIR to MIRAman Arora-118/+108
2020-11-17Rollup merge of #79072 - oli-obk:byte_str_pat, r=estebankMara Bos-8/+36
2020-11-17Fix exhaustiveness in case a byte string literal is used at slice typeoli-8/+36
2020-11-17Auto merge of #78801 - sexxi-goose:min_capture, r=nikomatsakisbors-2/+3
2020-11-16compiler: fold by valueBastian Kauschke-1/+1
2020-11-16Apply suggestions from code reviewNadrieril-2/+2
2020-11-15Rollup merge of #79036 - cjgillot:steal, r=oli-obkJonas Schievink-1/+1
2020-11-15Rollup merge of #77802 - jyn514:bootstrap-specific, r=nikomatsakisJonas Schievink-2/+1
2020-11-15Rollup merge of #78856 - mark-i-m:fix-or-pat-ice, r=matthewjasperDylan DPC-0/+11
2020-11-14Move Steal to rustc_data_structures.Camille GILLOT-1/+1
2020-11-12Factor out match usefulness computation in `check_match`Nadrieril-78/+118
2020-11-12Unreachable subpatterns are rareNadrieril-0/+2
2020-11-12Handle empty matches cleanlyNadrieril-33/+21
2020-11-10Use Places to express closure/generator CapturesAman Arora-2/+3
2020-11-09address reviewer commentsmark-5/+6
2020-11-09Rollup merge of #78748 - fanzier:tuple-assignment, r=petrochenkovDylan DPC-0/+1
2020-11-07fix #72680 by explicitly checking for or-pattern before testmark-0/+10
2020-11-07Allow making `RUSTC_BOOTSTRAP` conditional on the crate nameJoshua Nelson-2/+1
2020-11-07Implement destructuring assignment for tuplesFabian Zaiser-0/+1
2020-11-07Rollup merge of #78167 - Nadrieril:fix-76836_, r=varkorYuki Okushi-34/+93
2020-11-06Auto merge of #77856 - GuillaumeGomez:automatic-links-lint, r=jyn514,ollie27bors-2/+2