mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-09 05:23:07 +00:00
Replace a hard-to-read line.
Too clever by half, IMO.
This commit is contained in:
parent
3b6978196d
commit
1c15b6ae9c
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user