implement tainted_by_errors in mir borrowck

This commit is contained in:
Michael Goulet
2022-02-06 12:15:39 -08:00
parent 6499c5e7fc
commit 4ad272b282
9 changed files with 68 additions and 52 deletions

View File

@@ -626,7 +626,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
}
}
err.buffer(&mut self.errors_buffer);
self.buffer_error(err);
}
/// User cannot make signature of a trait mutable without changing the