implement tainted_by_errors in mir borrowck
This commit is contained in:
parent
6499c5e7fc
commit
4ad272b282
9 changed files with 68 additions and 52 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue