resolve: Move collection of all macro_rules
in the crate to rustdoc
This commit is contained in:
parent
6c5c7f503e
commit
9ba5281c76
3 changed files with 13 additions and 14 deletions
|
@ -1268,7 +1268,6 @@ impl<'a, 'b> BuildReducedGraphVisitor<'a, 'b> {
|
|||
};
|
||||
let binding = (res, vis, span, expansion).to_name_binding(self.r.arenas);
|
||||
self.r.set_binding_parent_module(binding, parent_scope.module);
|
||||
self.r.all_macro_rules.insert(ident.name, res);
|
||||
if is_macro_export {
|
||||
let module = self.r.graph_root;
|
||||
self.r.define(module, ident, MacroNS, (res, vis, span, expansion, IsMacroExport));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue