Replace a hard-to-read line.
Too clever by half, IMO.
This commit is contained in:
parent
3b6978196d
commit
1c15b6ae9c
1 changed files with 2 additions and 1 deletions
|
@ -432,7 +432,8 @@ impl<'a, 'b> MacroExpander<'a, 'b> {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
invocations = mem::take(&mut undetermined_invocations);
|
invocations = mem::take(&mut undetermined_invocations);
|
||||||
force = !mem::replace(&mut progress, false);
|
force = !progress;
|
||||||
|
progress = false;
|
||||||
if force && self.monotonic {
|
if force && self.monotonic {
|
||||||
self.cx.dcx().span_delayed_bug(
|
self.cx.dcx().span_delayed_bug(
|
||||||
invocations.last().unwrap().0.span(),
|
invocations.last().unwrap().0.span(),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue