about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2022-03-02rename ErrorReported -> ErrorGuaranteedmark-26/+26
2022-02-273 - Make more use of let_chainsCaio-43/+32
2022-02-25Auto merge of #93368 - eddyb:diagbld-guarantee, r=estebankbors-69/+74
2022-02-24Auto merge of #94131 - Mark-Simulacrum:fmt-string, r=oli-obkbors-8/+4
2022-02-23rustc_errors: let `DiagnosticBuilder::emit` return a "guarantee of emission".Eduard-Mihai Burtescu-27/+49
2022-02-23Replace `&mut DiagnosticBuilder`, in signatures, with `&mut Diagnostic`.Eduard-Mihai Burtescu-45/+28
2022-02-21use `List<Ty<'tcx>>` for tupleslcnr-5/+4
2022-02-20Always format to internal String in FmtPrinterMark Rousskov-8/+4
2022-02-20Rollup merge of #94146 - est31:let_else, r=cjgillotMatthias Krüger-35/+16
2022-02-19Adopt let else in more placesest31-35/+16
2022-02-19Rollup merge of #94006 - pierwill:upvar-field, r=nikomatsakisMatthias Krüger-6/+16
2022-02-17Rollup merge of #94011 - est31:let_else, r=lcnrMatthias Krüger-12/+7
2022-02-16Use a `Field` in `ConstraintCategory::ClosureUpvar`pierwill-6/+16
2022-02-16Adopt let_else in even more placesest31-12/+7
2022-02-15Overhaul `RegionKind` and `Region`.Nicholas Nethercote-29/+27
2022-02-15Overhaul `TyS` and `Ty`.Nicholas Nethercote-20/+20
2022-02-12Handle Fn family trait call errrorDeadbeef-2/+2
2022-02-12Rebased and improved errorsDeadbeef-1/+3
2022-02-12Improve error messages even moreDeadbeef-107/+37
2022-02-11rework borrowck errors so that it's harder to not set taintedMichael Goulet-12/+2
2022-02-11implement tainted_by_errors in mir borrowckMichael Goulet-41/+37
2022-02-11Auto merge of #93893 - oli-obk:sad_revert, r=oli-obkbors-87/+21
2022-02-11Revert "Auto merge of #92306 - Aaron1011:opaque-type-op, r=oli-obk"Oli Scherer-87/+21
2022-02-10Remove further usage of `&hir::Map`Frank Steffahn-2/+2
2022-02-08Improve opaque type higher-ranked region error message under NLLAaron Hill-21/+87
2022-02-02Rollup merge of #93590 - est31:let_else, r=lcnrMatthias Krüger-72/+65
2022-02-02Rollup merge of #93221 - alyssaverkade:fix-93093, r=wesleywiserMatthias Krüger-6/+26
2022-02-02More let_else adoptionsest31-72/+65
2022-01-22[borrowck] Fix help on mutating &self in async fnsAlyssa Verkade-6/+26
2022-01-19Store a `Symbol` instead of an `Ident` in `AssocItem`Aaron Hill-1/+1
2022-01-17Use Term in ProjectionPredicatekadmin-1/+4
2022-01-15Reduce use of local_def_id_to_hir_id.Camille GILLOT-37/+34
2022-01-15Return a LocalDefId in get_parent_item.Camille GILLOT-2/+2
2022-01-13Auto merge of #89861 - nbdd0121:closure, r=wesleywiserbors-5/+4
2022-01-11Store a `Symbol` instead of an `Ident` in `VariantDef`/`FieldDef`Aaron Hill-1/+1
2022-01-07Remove region from UpvarCapture and move it to CapturedPlaceGary Guo-4/+3
2022-01-07Remove span from UpvarCapture::ByValueGary Guo-1/+1
2021-12-29Refactor variance diagnostics to work with more typesAaron Hill-7/+37
2021-12-19Auto merge of #91957 - nnethercote:rm-SymbolStr, r=oli-obkbors-3/+3
2021-12-18get_mut_span_in_struct_field uses span.betweenLucas Kent-8/+6
2021-12-17Improve suggestion to change struct field to &mutLucas Kent-26/+13
2021-12-15Remove in_band_lifetimes from borrowckDániel Buga-10/+10
2021-12-15Remove unnecessary sigils around `Symbol::as_str()` calls.Nicholas Nethercote-3/+3
2021-12-11Rollup merge of #89734 - estebank:issue-72312, r=nikomatsakisMatthias Krüger-0/+1
2021-12-10Suggest using a temporary variable to fix borrowck errorsNoah Lev-2/+114
2021-12-10Point at capture points for non-`'static` reference crossing a `yield` pointEsteban Kuber-0/+1
2021-12-02Rollup merge of #91394 - Mark-Simulacrum:bump-stage0, r=pietroalbiniMatthias Krüger-27/+40
2021-12-01Auto merge of #90446 - cjgillot:late-elided, r=jackh726bors-1/+1
2021-12-01Rollup merge of #90985 - camsteffen:diag-name-usage, r=jackh726Matthias Krüger-20/+15
2021-11-30Merge Implicit and ImplicitMissing.Camille GILLOT-3/+1