Separate the lifetimes of the BorrowckInferCtxt from the other borrowed items

This commit is contained in:
Oli Scherer
2024-06-20 13:10:11 +00:00
parent 06c072f158
commit 1c4d0ced58
13 changed files with 41 additions and 39 deletions

View File

@@ -93,7 +93,7 @@ enum GroupedMoveError<'tcx> {
},
}
impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
impl<'a, 'tcx> MirBorrowckCtxt<'_, 'a, 'tcx> {
pub(crate) fn report_move_errors(&mut self) {
let grouped_errors = self.group_move_errors();
for error in grouped_errors {