rustc_hir_analysis::check::compare_impl_item::refine

Function type_visibility

source
fn type_visibility<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
) -> Option<Visibility<DefId>>