{"ast_node_type":"function","tokens":[{"end":61,"kind":"keyword","start":0,"text":"pub(crate)"}]}
pub(crate) fn all_traits(tcx: TyCtxt<'_>) -> Vec<TraitInfo> {
/// and wraps them into `TraitInfo` for custom sorting.
    tcx.all_traits_including_private().map(|def_id| TraitInfo { def_id }).collect()