1
Fork 0

Resolve foreign macros

This commit is contained in:
Manish Goregaokar 2018-01-06 14:01:54 +05:30
parent d6dd902616
commit 7ac48d793b
5 changed files with 84 additions and 34 deletions

View file

@ -1284,7 +1284,7 @@ impl DocFolder for Cache {
clean::FunctionItem(..) | clean::ModuleItem(..) |
clean::ForeignFunctionItem(..) | clean::ForeignStaticItem(..) |
clean::ConstantItem(..) | clean::StaticItem(..) |
clean::UnionItem(..) | clean::ForeignTypeItem
clean::UnionItem(..) | clean::ForeignTypeItem | clean::MacroItem(..)
if !self.stripped_mod => {
// Re-exported items mean that the same id can show up twice
// in the rustdoc ast that we're looking at. We know,