1
Fork 0

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

@ -264,7 +264,7 @@ impl<'a, 'tcx> MirBorrowckCtxt<'a, 'tcx> {
};
self.add_move_hints(error, &mut err, err_span);
err.buffer(&mut self.errors_buffer);
self.buffer_error(err);
}
fn report_cannot_move_from_static(