about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/borrow_check/diagnostics
AgeCommit message (Expand)AuthorLines
2021-09-07Move rustc_mir::borrow_check to new crate rustc_borrowck.Camille GILLOT-8201/+0
2021-08-29Provide structured suggestion for removal of `&mut`Esteban Kuber-2/+20
2021-08-29Suggestion for call on immutable binding of mutable typeEsteban Küber-7/+53
2021-08-26Rollup merge of #88270 - lqd:hrtb-type-ascription, r=nikomatsakisManish Goregaokar-5/+37
2021-08-23handle ascription type op in NLL HRTB diagnosticsRémy Rakic-5/+37
2021-08-22Fix more “a”/“an” typosFrank Steffahn-2/+2
2021-08-22Fix typos “a”→“an”Frank Steffahn-6/+6
2021-08-18add fixme about the `type_op_normalize` query in NLL HRTB diagnosticsRémy Rakic-1/+7
2021-08-16fix typo in bound_region_errors.rsRémy Rakic-1/+1
2021-08-15De-dupe NLL HRTB diagnostics' use of `type_op_prove_predicate`Rémy Rakic-12/+3
2021-08-15don't derive `Copy` for `RegionElement`Rémy Rakic-1/+1
2021-08-15Slight cleanupRémy Rakic-4/+1
2021-08-15Fix dyn trait warningRémy Rakic-2/+2
2021-08-15Report nicer errors for HRTB NLL errors from queriesMatthew Jasper-18/+234
2021-08-15Report mismatched type errors for bound region errors in NLLMatthew Jasper-10/+29
2021-08-15Track causes for universes created during borrowckMatthew Jasper-0/+112
2021-08-15Simplify BoundUniversalRegionErrorMatthew Jasper-6/+6
2021-08-12Avoid ICE caused by suggestionEsteban Küber-7/+12
2021-08-01Auto merge of #87449 - matthiaskrgr:clippyy_v2, r=nagisabors-2/+2
2021-07-30Auto merge of #86754 - estebank:use-multispans-more, r=varkorbors-11/+12
2021-07-31Rollup merge of #87559 - estebank:consider-borrowing, r=oli-obkYuki Okushi-30/+39
2021-07-30Use multispan suggestions more oftenEsteban Küber-11/+12
2021-07-30Tweak borrowing suggestion in `for` loopEsteban Küber-30/+39
2021-07-28Rollup merge of #87453 - ibraheemdev:i-68697, r=wesleywiserYuki Okushi-2/+12
2021-07-25fmtibraheemdev-3/+3
2021-07-25fix help message for modification to &T created by &{t}ibraheemdev-9/+7
2021-07-25suggest removing unnecessary \&mut as help messageibraheemdev-2/+12
2021-07-25clippy::useless_formatMatthias Krüger-2/+2
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