break eagerly from loop

This commit is contained in:
Esteban Küber 2019-01-04 13:47:35 -08:00
parent e0a606c6a9
commit f6e29babc0

View File

@ -214,6 +214,7 @@ impl<'cx, 'gcx, 'tcx> MirBorrowckCtxt<'cx, 'gcx, 'tcx> {
note_msg, ty,
));
note = false;
break;
}
}
if note {