Skip to content

Commit d6dd902

Browse files
committed
Register definitions
1 parent 383d169 commit d6dd902

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/librustdoc/clean/mod.rs

+2
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,8 @@ impl Clean<Attributes> for [ast::Attribute] {
904904
}
905905
};
906906

907+
register_def(cx, def);
908+
907909
attrs.links.push((link, path.def.def_id()));
908910
}
909911

0 commit comments

Comments
 (0)