]> git.lizzy.rs Git - rust.git/blobdiff - src/librustdoc/test.rs
Auto merge of #38049 - frewsxcv:libunicode, r=alexcrichton
[rust.git] / src / librustdoc / test.rs
index 13a793d3d4bc4bd7da88b5c5e0b851fce7c25f30..b96a737ed000748706375018180400470455950f 100644 (file)
@@ -537,4 +537,8 @@ fn visit_struct_field(&mut self, f: &'hir hir::StructField) {
             intravisit::walk_struct_field(this, f);
         });
     }
+
+    fn visit_macro_def(&mut self, macro_def: &'hir hir::MacroDef) {
+        self.visit_testable(macro_def.name.to_string(), &macro_def.attrs, |_| ());
+    }
 }