Function rustdoc::clean::inline::merge_attrs
source · pub(crate) fn merge_attrs(
cx: &mut DocContext<'_>,
parent_module: Option<DefId>,
old_attrs: &[Attribute],
new_attrs: Option<&[Attribute]>
) -> (Attributes, Option<Arc<Cfg>>)Expand description
parent_module refers to the parent of the re-export, not the original item