summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-05-03Fix ICE of for-loop mut borrowck where no suggestions are availableDeadbeef-7/+10
2021-03-18Replace closures_captures and upvar_capture with closure_min_capturesJennifer Wills-34/+68
2021-03-12Prepare mir::Constant for ty::Const only supporting valtreesOli Scherer-2/+2
2021-03-12Don't show note if `span` is `DUMMY_SP`Henry Boisdequin-6/+7
2021-03-05Rollup merge of #81939 - kper:fixing-81584-allocate-in-iter, r=davidtwcoMara-4/+29
2021-02-27Rollup merge of #82442 - Aaron1011:fix/closure-mut-crash, r=matthewjasperDylan DPC-25/+26
2021-02-24Add suggestion for iterators in iteratorsKevin Per-4/+29
2021-02-23Rollup merge of #81629 - 1000teslas:issue-81365-fix, r=Aaron1011Dylan DPC-4/+37
2021-02-23Skip emitting closure diagnostic when closure_kind_origins has no entryAaron Hill-25/+26
2021-02-22Extract deref coercion explanation into method1000teslas-3/+6
2021-02-19Add deref definition location1000teslas-0/+1
2021-02-17Rollup merge of #82136 - edward-shen:mismatched-subst-and-hir, r=lcnrGuillaume Gomez-7/+4
2021-02-15Use ItemId as a strongly typed index.Camille GILLOT-1/+1
2021-02-15Revise HIR lowering commentEdward Shen-2/+2
2021-02-14Use delay_span_bug for mismatched subst/hir argEdward Shen-7/+4
2021-02-13fix 82032b-naber-5/+17
2021-02-10Fix assosiated typoDaniel Egger-1/+1
2021-02-08Point out implicit deref coercions in borrow1000teslas-4/+33
2021-02-05Add suggest mu method for loopDaiki Ihara-9/+85
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