pub(crate) fn collect_trait_impls(
    krate: Crate,
    cx: &mut DocContext<'_>
) -> Crate