1
Fork 0

Implement macro_rules! placeholders and the macro scope map

This commit is contained in:
Jeffrey Seyfried 2016-06-26 03:32:45 +00:00
parent a15dfca54f
commit 0701571fe7
5 changed files with 127 additions and 24 deletions

View file

@ -185,6 +185,8 @@ impl<'a> fold::Folder for TestHarnessGenerator<'a> {
mod_folded
}
fn fold_mac(&mut self, mac: ast::Mac) -> ast::Mac { mac }
}
struct EntryPointCleaner {
@ -234,6 +236,8 @@ impl fold::Folder for EntryPointCleaner {
SmallVector::one(folded)
}
fn fold_mac(&mut self, mac: ast::Mac) -> ast::Mac { mac }
}
fn mk_reexport_mod(cx: &mut TestCtxt, tests: Vec<ast::Ident>,