about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics
AgeCommit message (Expand)AuthorLines
2023-01-12Provide help on closures capturing self causing borrow checker errorsyukang-5/+147
2023-01-11Change `src/test` to `tests` in source files, fix tidy and testsAlbert Larsan-1/+1
2023-01-09Rollup merge of #106549 - wcampbell0x2a:use-fmt-named-parameters-borrowck, r=...fee1-dead-91/+62
2023-01-08Rollup merge of #106410 - clubby789:borrow-mut-self-mut-self-diag, r=compiler...Yuki Okushi-11/+16
2023-01-07Rollup merge of #106509 - estebank:closure-in-block, r=davidtwcoMatthias Krüger-7/+38
2023-01-06Use fmt named parameters in rustc_borrowckwcampbell-91/+62
2023-01-05Suggests adding named lifetime when the return contains value borrowed from m...yanchen4791-2/+11
2023-01-05Detect closures assigned to binding in blockEsteban Küber-7/+38
2023-01-05Explain error with `&mut self` for unsized trait implsclubby789-11/+16
2023-01-04Rollup merge of #106403 - compiler-errors:rename-hir-methods, r=cjgillotMichael Goulet-2/+2
2023-01-04Address commentsMichael Goulet-67/+8
2023-01-04Simplify some iterator combinatorsMichael Goulet-42/+31
2023-01-04rename get_parent_node to parent_idMichael Goulet-2/+2
2023-01-01Verbose suggestionsEsteban Küber-3/+3
2023-01-01Merge multiple mutable borrows of immutable binding errorsEsteban Küber-21/+69
2022-12-31Auto merge of #106245 - estebank:mutability-suggestions, r=jyn514bors-21/+12
2022-12-28Use verbose suggestions for mutability errorsEsteban Küber-21/+12
2022-12-28Rename `Rptr` to `Ref` in AST and HIRNilstrieb-7/+4
2022-12-27Auto merge of #106095 - estebank:pin-mut-reborrow, r=compiler-errorsbors-10/+59
2022-12-26review commentsEsteban Küber-7/+5
2022-12-25Remove redundant clone suggestionEsteban Küber-1/+13
2022-12-25Create new inference contextEsteban Küber-29/+33
2022-12-23Do not use `hir_ty_to_ty`Esteban Küber-15/+10
2022-12-24Rollup merge of #105975 - jeremystucki:rustc-remove-needless-lifetimes, r=eholkMatthias Krüger-1/+1
2022-12-23Verify receiver is of `self: Pin<&mut Self>`Esteban Küber-2/+6
2022-12-23Suggest `.clone()` on method call move errorsEsteban Küber-9/+34
2022-12-23Suggest `Pin::as_mut` when encountering borrow errorEsteban Küber-0/+11
2022-12-20rustc: Remove needless lifetimesJeremy Stucki-1/+1
2022-12-20Hackily fix an opaque type ICEOli Scherer-4/+6
2022-12-20Make it easier to debug where a region error was createdOli Scherer-2/+18
2022-12-18use &str / String literals instead of format!()Matthias Krüger-3/+3
2022-12-14Ensure no one constructs `AliasTy`s themselvesOli Scherer-2/+2
2022-12-14Auto merge of #104986 - compiler-errors:opaques, r=oli-obkbors-3/+3
2022-12-13Rollup merge of #105500 - oli-obk:unhide_unknown_spans, r=estebankMatthias Krüger-8/+16
2022-12-13Account for dereference expressionsEsteban Küber-7/+22
2022-12-13Fix span for `&mut ` removal suggestionEsteban Küber-0/+1
2022-12-13Suggest `ref` for some patterns as a fallbackEsteban Küber-10/+16
2022-12-13Change pattern borrowing suggestions to be verboseEsteban Küber-29/+35
2022-12-13Combine projection and opaque into aliasMichael Goulet-2/+2
2022-12-13squash OpaqueTy and ProjectionTy into AliasTyMichael Goulet-2/+2
2022-12-13Use ty::OpaqueTy everywhereMichael Goulet-3/+3
2022-12-13Stop pointing to operators if their libcore method source is not availableOli Scherer-6/+1
2022-12-13Clarify what "this" meansOli Scherer-2/+15
2022-12-13remove unnecessary uses of `clone`Takayuki Maeda-1/+1
2022-12-06`rustc_borrowck`: remove `ref` patternsMaybe Waffle-58/+50
2022-11-30Auto merge of #104905 - compiler-errors:normalization-changes, r=spastorinobors-4/+4
2022-11-29Rollup merge of #104951 - Swatinem:async-kind, r=compiler-errorsMatthias Krüger-6/+1
2022-11-28Simplify checking for `GeneratorKind::Async`Arpad Borsos-6/+1
2022-11-28Make ObligationCtxt::normalize take cause by borrowMichael Goulet-1/+1
2022-11-28partially_normalize_... -> At::normalizeMichael Goulet-3/+3