summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-07-20Get back the more precise suggestion spans of old regionckOli Scherer-4/+6
2021-07-18Auto merge of #85686 - ptrojahn:loop_reinitialize, r=estebankbors-18/+74
2021-07-12Auto merge of #86815 - FabianWolff:issue-84210, r=varkorbors-4/+20
2021-07-07Add help on reinitialization between move and accessPaul Trojahn-18/+74
2021-07-06Make type_implements_trait not a queryAman Arora-2/+4
2021-07-04remove some ad-hoc has_infer_types checks that aren't needed anymoreNiko Matsakis-15/+13
2021-07-04allow inference vars in type_implements_traitNiko Matsakis-1/+3
2021-07-02Improve error reporting for modifications behind `&` referencesFabian Wolff-4/+20
2021-06-16Do not emit invalid suggestions on multiple mutable borrow errorsYuki Okushi-8/+26
2021-06-12Rollup merge of #85823 - fee1-dead:borrowck-0, r=jackh726Yuki Okushi-2/+6
2021-06-06Add variance-related information to lifetime error messagesAaron Hill-9/+25
2021-05-30Do not suggest ampmut if rhs is already mutableDeadbeef-2/+6
2021-05-23Replace Local::new(1) with CAPTURE_STRUCT_LOCALPaul Trojahn-11/+11
2021-05-11Fix CI problemshamidreza kalbasi-41/+37
2021-05-10remove big matchhamidreza kalbasi-63/+48
2021-05-10move logic to a functionhamidreza kalbasi-81/+79
2021-05-09Try to fix issue 68049hamidreza kalbasi-10/+103
2021-05-01add docstrings and add issue to FIXMEsChris Pardy-1/+3
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-1/+1
2021-05-01Update compiler/rustc_mir/src/borrow_check/diagnostics/explain_borrow.rsChrisPardy-2/+2
2021-05-01Closure capture borrow diagnostics for disjoint capturesChris Pardy-74/+173
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