.map(Clone::clone),
visibility: types::Visibility::Public,
inner: types::ItemEnum::Trait(trait_item.clone().into()),
- source: None,
+ span: None,
docs: Default::default(),
links: Default::default(),
attrs: Default::default(),
))
}
+ fn make_child_renderer(&self) -> Self {
+ self.clone()
+ }
+
/// Inserts an item into the index. This should be used rather than directly calling insert on
/// the hashmap because certain items (traits and types) need to have their mappings for trait
/// implementations filled out before they're inserted.