Function rustc_monomorphize::partitioning::default_visibility

source ยท
fn default_visibility(
    tcx: TyCtxt<'_>,
    id: DefId,
    is_generic: bool
) -> Visibility