Function rustc_privacy::visibility

source ·
pub(crate) fn visibility(
    tcx: TyCtxt<'_>,
    def_id: LocalDefId
) -> Visibility<DefId>