Avoid using Mark and Invocation for macro defs.

This commit is contained in:
Jeffrey Seyfried
2017-03-01 23:48:16 +00:00
committed by Alex Crichton
parent e839486318
commit 8c98996934
13 changed files with 100 additions and 93 deletions

View File

@@ -1328,7 +1328,7 @@ impl<'a> State<'a> {
word(&mut self.s, ";")?;
self.end()?;
}
ast::ItemKind::MacroDef(ref tts, _) => {
ast::ItemKind::MacroDef(ref tts) => {
word(&mut self.s, "macro_rules! ")?;
self.print_ident(item.ident)?;
self.cbox(INDENT_UNIT)?;