Function rustdoc::clean::generate_item_with_correct_attrs
source · fn generate_item_with_correct_attrs(
cx: &mut DocContext<'_>,
kind: ItemKind,
def_id: DefId,
name: Symbol,
import_id: Option<LocalDefId>,
renamed: Option<Symbol>
) -> Item