fn of_impl(hir_id: hir::HirId, tcx: TyCtxt<'_>, access_levels: &AccessLevels) -> Self {
        let mut find = FindMin { tcx, access_levels, min: Self::MAX };
        let def_id = tcx.hir().local_def_id(hir_id);
        find.visit(tcx.type_of(def_id));
        if let Some(trait_ref) = tcx.impl_trait_ref(def_id) {
            find.visit_trait(trait_ref);
        }
        find.min
    }
// Returns an over-approximation (`skip_assoc_tys` = true) of visibility due to
// associated types for which we can't determine visibility precisely.
Returns an over-approximation (`skip_assoc_tys` = true) of visibility due to
associated types for which we can't determine visibility precisely.
Returns an over - approximation ( ` skip_assoc_tys ` = true ) of visibility due to associated types for which we can ' t determine visibility precisely .
fn of_impl(hir_id: hir::HirId, tcx: TyCtxt<'_>, access_levels: &AccessLevels) -> Self {
        let mut find = FindMin { tcx, access_levels, min: Self::MAX };
        let def_id = tcx.hir().local_def_id(hir_id);
        find.visit(tcx.type_of(def_id));
        if let Some(trait_ref) = tcx.impl_trait_ref(def_id) {
            find.visit_trait(trait_ref);
        }
        find.min
    }
fn of_impl ( hir_id : hir :: HirId , tcx : TyCtxt < ' _ > , access_levels : & AccessLevels ) -> Self { let mut find = FindMin { tcx , access_levels , min : Self :: MAX } ; let def_id = tcx . hir ( ) . local_def_id ( hir_id ) ; find . visit ( tcx . type_of ( def_id ) ) ; if let Some ( trait_ref ) = tcx . impl_trait_ref ( def_id ) { find . visit_trait ( trait_ref ) ; } find . min }
Returns an over-approximation (`skip_assoc_tys` = true) of visibility due to
associated types for which we can't determine visibility precisely.
Returns an over - approximation ( ` skip_assoc_tys ` = true ) of visibility due to associated types for which we can ' t determine visibility precisely .
hir_id
hir::HirId
tcx
TyCtxt<'_>
access_levels
&AccessLevels
hir_id
hir::HirId
tcx
TyCtxt<'_>
access_levels
&AccessLevels