about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-04-28Auto merge of #83401 - fee1-dead:master, r=davidtwcobors-7/+10
2021-04-20Auto merge of #84353 - estebank:as-ref-mir, r=davidtwcobors-3/+31
2021-04-19Suggest `.as_ref()` on borrow error involving `Option`/`Result`Esteban Küber-3/+31
2021-04-19fix few typosklensy-1/+1
2021-04-12Compiler error messages: reduce assertiveness of message E0384James Addison-1/+1
2021-04-06Add reborrow suggestion when mutable reference is moved in a for loopGiacomo Stevanato-1/+18
2021-04-02Reduce size of statementsRoxane-3/+3
2021-04-02Fix diagnostic issue when using FakeReads in closuresRoxane-3/+21
2021-03-31Add var to BoundRegion. Add query to get bound vars for applicable items.Jack Huey-2/+2
2021-03-27Rollup merge of #82917 - cuviper:iter-zip, r=m-ou-seDylan DPC-9/+9
2021-03-27lazily calls some fnsklensy-1/+1
2021-03-26Use iter::zip in compiler/Josh Stone-9/+9
2021-03-23Fix 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