Function rustdoc::clean::get_all_import_attributes
source ยท fn get_all_import_attributes<'hir>(
cx: &mut DocContext<'hir>,
import_def_id: LocalDefId,
target_def_id: DefId,
is_inline: bool,
) -> Vec<(Cow<'hir, Attribute>, Option<DefId>)>
Expand description
Collect attributes from the whole import chain.