rustdoc::clean::inline

Function merge_attrs

Source
pub(crate) fn merge_attrs(
    cx: &mut DocContext<'_>,
    old_attrs: &[Attribute],
    new_attrs: Option<(&[Attribute], Option<LocalDefId>)>,
) -> (Attributes, Option<Arc<Cfg>>)