rustdoc: Fix inlining reexporting bang-macros

This commit is contained in:
Georg Semmler 2018-11-28 17:11:06 +01:00
parent 50b4eefcf5
commit 230f5d5676
No known key found for this signature in database
GPG key ID: A87BCEE5205CE489

View file

@ -376,6 +376,10 @@ impl<'a, 'tcx, 'rcx, 'cstore> RustdocVisitor<'a, 'tcx, 'rcx, 'cstore> {
});
true
}
Node::MacroDef(def) if !glob => {
om.macros.push(self.visit_local_macro(def));
true
}
_ => false,
};
self.view_item_stack.remove(&def_node_id);