Skip to content

Commit 230f5d5

Browse files
committed
rustdoc: Fix inlining reexporting bang-macros
1 parent 50b4eef commit 230f5d5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustdoc/visit_ast.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,10 @@ impl<'a, 'tcx, 'rcx, 'cstore> RustdocVisitor<'a, 'tcx, 'rcx, 'cstore> {
376376
});
377377
true
378378
}
379+
Node::MacroDef(def) if !glob => {
380+
om.macros.push(self.visit_local_macro(def));
381+
true
382+
}
379383
_ => false,
380384
};
381385
self.view_item_stack.remove(&def_node_id);

0 commit comments

Comments
 (0)