fn build_module_items(
cx: &mut DocContext<'_>,
module_def_id: DefId,
module_name: Symbol,
visited: &mut DefIdSet,
inlined_names: &mut FxHashSet<(ItemType, Symbol)>,
allowed_def_ids: Option<&DefIdSet>,
attrs: Option<(&[Attribute], Option<LocalDefId>)>,
) -> Vec<Item>