Fix pretty printer macro_rules with semicolon.
This commit is contained in:
@@ -1311,6 +1311,9 @@ impl<'a> State<'a> {
|
||||
true,
|
||||
item.span,
|
||||
);
|
||||
if macro_def.body.need_semicolon() {
|
||||
self.word(";");
|
||||
}
|
||||
}
|
||||
}
|
||||
self.ann.post(self, AnnNode::Item(item))
|
||||
|
||||
Reference in New Issue
Block a user