about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check
AgeCommit message (Expand)AuthorLines
2021-01-25Point to span of upvar making closure FnMut1000teslas-1/+55
2021-01-23Rollup merge of #81072 - RalfJung:place-ref-ty, r=oli-obkJonas Schievink-6/+8
2021-01-18Auto merge of #80865 - oliviacrain:proj_based, r=RalfJungbors-22/+15
2021-01-17Auto merge of #80679 - jackh726:predicate-kind-take2, r=lcnrbors-6/+6
2021-01-17Rollup merge of #81084 - LingMan:map, r=oli-obkMara Bos-16/+12
2021-01-17Rollup merge of #80635 - sexxi-goose:use-place-instead-of-symbol, r=nikomatsa...Mara Bos-4/+4
2021-01-17Rollup merge of #79298 - lcnr:new-elysium, r=matthewjasperMara Bos-4/+4
2021-01-16Review changesJack Huey-6/+6
2021-01-16Use Option::map instead of open-coding itLingMan-16/+12
2021-01-16correctly deal with late-bound lifetimes in anon constsBastian Kauschke-4/+4
2021-01-16Rollup merge of #80941 - JohnTitor:ref-mut-pat-in-loops, r=varkorMara Bos-1/+4
2021-01-16Rollup merge of #80614 - 1000teslas:issue-78938-fix, r=tmandryMara Bos-5/+14
2021-01-16Use PlaceRef more consistently in rustc_mirOlivia Crain-22/+15
2021-01-16PlaceRef::ty: use method call syntaxRalf Jung-6/+8
2021-01-16Update compiler/rustc_mir/src/borrow_check/diagnostics/conflict_errors.rs1000teslas-3/+1
2021-01-14Use Option::map_or instead of `.map(..).unwrap_or(..)`LingMan-2/+2
2021-01-13Move help link to error index1000teslas-3/+1
2021-01-12Do not suggest invalid code in pattern with loopYuki Okushi-1/+4
2021-01-10Remove trailing whitespace1000teslas-3/+5
2021-01-10Revise async block error message1000teslas-16/+15
2021-01-10Fix location of error message explanation1000teslas-10/+12
2021-01-10Explain why borrows can't be held across yield point in async blocks1000teslas-0/+10
2021-01-08Change wording of noteAaron Hill-1/+1
2021-01-08Explain method-call move errors in loopsAaron Hill-74/+68
2021-01-04Auto merge of #80624 - RalfJung:place-ref, r=oli-obkbors-93/+45
2021-01-03use PlaceRef more consistently instead of loosely coupled local+projectionRalf Jung-93/+45
2021-01-02use hir::Place instead of Symbol in closure_kind_originRoxane-4/+4
2021-01-02reduce borrowing and (de)referencing around match patterns (clippy::match_ref...Matthias Krüger-3/+3
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-6/+2
2020-12-21Auto merge of #79270 - RalfJung:array-repeat-consts, r=oli-obkbors-37/+41
2020-12-20use exhaustive match for checking Rvalue::RepeatRalf Jung-37/+41
2020-12-18Make BoundRegion have a kind of BoungRegionKindJack Huey-8/+8
2020-12-17Prefer regions with an `external_name` in `approx_universal_upper_bound`Aaron Hill-1/+17
2020-12-15Auto merge of #73210 - wesleywiser:consts_in_debuginfo, r=oli-obkbors-12/+14
2020-12-12Auto merge of #79553 - sexxi-goose:mir_min_cap_writeback, r=nikomatsakisbors-8/+14
2020-12-09Use closure_min_captures in borrow checkerAman Arora-8/+14
2020-12-08use .contains() or .any() instead of find(x).is_some() (clippy::search_is_some)Matthias Krüger-1/+1
2020-12-06[mir-opt] Allow debuginfo to be generated for a constant or a PlaceWesley Wiser-12/+14
2020-11-17Auto merge of #78801 - sexxi-goose:min_capture, r=nikomatsakisbors-13/+14
2020-11-16compiler: fold by valueBastian Kauschke-27/+27
2020-11-10Changed unwrap_or to unwrap_or_else in some places.Nicholas-Baron-1/+1
2020-11-10Initial work for doing minimum capture analysis for RFC-2229Aman Arora-13/+14
2020-11-09Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-SimulacrumDylan DPC-43/+161
2020-11-09use RegionNameHighlight for async fn and closure returnsSNCPlay42-34/+118
2020-11-06Auto merge of #77856 - GuillaumeGomez:automatic-links-lint, r=jyn514,ollie27bors-1/+1
2020-11-05Fix even more URLsGuillaume Gomez-1/+1
2020-11-04fix a couple of clippy warnings:Matthias Krüger-1/+1
2020-10-30Add option to customize the nll-facts' folder locationFederico Poli-2/+2
2020-10-27Use unsized_feature_enabled helper functionSantiago Pastorino-6/+9
2020-10-27is -> are bothSantiago Pastorino-1/+1