Replace a hard-to-read line.

Too clever by half, IMO.
This commit is contained in:
Nicholas Nethercote 2024-05-01 10:50:05 +10:00
parent 3b6978196d
commit 1c15b6ae9c

View File

@ -432,7 +432,8 @@ impl<'a, 'b> MacroExpander<'a, 'b> {
break;
}
invocations = mem::take(&mut undetermined_invocations);
force = !mem::replace(&mut progress, false);
force = !progress;
progress = false;
if force && self.monotonic {
self.cx.dcx().span_delayed_bug(
invocations.last().unwrap().0.span(),