fn build_module_items(
    cx: &mut DocContext<'_>,
    did: DefId,
    visited: &mut FxHashSet<DefId>,
    inlined_names: &mut FxHashSet<(ItemType, Symbol)>
) -> Vec<Item>