]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc/hir/map/def_collector.rs
Rollup merge of #41249 - GuillaumeGomez:rustdoc-render, r=steveklabnik,frewsxcv
[rust.git] / src / librustc / hir / map / def_collector.rs
index c1417f718b27abbecf88081040cf9a25adaab858..7ff5152c71a2cd6f29e306f01502dc68ed775a0b 100644 (file)
@@ -109,6 +109,7 @@ fn visit_item(&mut self, i: &'a Item) {
                 DefPathData::ValueNs(i.ident.name.as_str()),
             ItemKind::MacroDef(..) => DefPathData::MacroDef(i.ident.name.as_str()),
             ItemKind::Mac(..) => return self.visit_macro_invoc(i.id, false),
+            ItemKind::GlobalAsm(..) => DefPathData::Misc,
             ItemKind::Use(ref view_path) => {
                 match view_path.node {
                     ViewPathGlob(..) => {}