summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-02-03Fix panic when emitting diagnostic for closure mutable binding errorAaron Hill-2/+2
2021-02-01Rollup merge of #81463 - matsujika:nll-ensure-c-case, r=varkorJonas Schievink-6/+6
2021-01-29Add fixme for precise path diagnosticsAman Arora-0/+2
2021-01-29Fix incorrect use mut diagnosticsAman Arora-10/+33
2021-01-29Rollup merge of #81158 - 1000teslas:issue-80313-fix, r=Aaron1011Yuki Okushi-1/+55
2021-01-28Rename NLL* to Nll* accordingly to C-CASEHirochika Matsumoto-6/+6
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-1/+3
2021-01-18Auto merge of #80865 - oliviacrain:proj_based, r=RalfJungbors-13/+8
2021-01-17Auto merge of #80679 - jackh726:predicate-kind-take2, r=lcnrbors-2/+2
2021-01-17Rollup merge of #80635 - sexxi-goose:use-place-instead-of-symbol, r=nikomatsa...Mara Bos-4/+4
2021-01-16Review changesJack Huey-2/+2
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-13/+8
2021-01-16PlaceRef::ty: use method call syntaxRalf Jung-1/+3
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-1/+1
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-28/+10
2021-01-03use PlaceRef more consistently instead of loosely coupled local+projectionRalf Jung-28/+10
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-1/+1
2020-12-30where possible, pass slices instead of &Vec or &String (clippy::ptr_arg)Matthias Krüger-1/+1
2020-12-18Make BoundRegion have a kind of BoungRegionKindJack Huey-6/+6
2020-12-08use .contains() or .any() instead of find(x).is_some() (clippy::search_is_some)Matthias Krüger-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-04fix a couple of clippy warnings:Matthias Krüger-1/+1
2020-10-08Suggest removing &mut from borrow of &mutLzu Tao-32/+36
2020-10-06Fix NLL compare mode testsMatthew Jasper-4/+5
2020-10-05add RegionNameHighlight::OccludedSNCPlay42-11/+27
2020-10-05don't refer to async as 'generators'SNCPlay42-6/+24
2020-10-04Remove `DefId` from `MirBorrowckCtxt`Dylan MacKenzie-23/+27
2020-09-26rename functionsBastian Kauschke-3/+6
2020-09-24nitBastian Kauschke-1/+0
2020-09-24the two hardest things in programming, names and...Bastian Kauschke-3/+3
2020-09-23merge `need_type_info_err(_const)`Bastian Kauschke-3/+3
2020-09-20Rollup merge of #76890 - matthiaskrgr:matches_simpl, r=lcnrRalf Jung-3/+4
2020-09-18use matches!() macro for simple if let conditionsMatthias Krüger-3/+4
2020-09-17use strip_prefix over starts_with and manual slicing based on pattern length ...Matthias Krüger-5/+4
2020-09-16Rollup merge of #76756 - matthiaskrgr:cl123ppy, r=Dylan-DPCTyler Mandry-1/+1