fn leaks_private_dep(&self, item_id: DefId) -> bool {
        let ret = self.required_visibility == ty::Visibility::Public
            && self.tcx.is_private_dep(item_id.krate);

        tracing::debug!("leaks_private_dep(item_id={:?})={}", item_id, ret);
        ret
    }
/// An item is 'leaked' from a private dependency if all
/// of the following are true:
/// 1. It's contained within a public type
/// 2. It comes from a private crate
An item is 'leaked' from a private dependency if all
of the following are true:
1. It's contained within a public type
2. It comes from a private crate
An item is ' leaked ' from a private dependency if all of the following are true : 1 . It ' s contained within a public type 2 . It comes from a private crate
fn leaks_private_dep(&self, item_id: DefId) -> bool {
        let ret = self.required_visibility == ty::Visibility::Public
            && self.tcx.is_private_dep(item_id.krate);
        tracing::debug!("leaks_private_dep(item_id={:?})={}", item_id, ret);
        ret
    }
fn leaks_private_dep ( & self , item_id : DefId ) -> bool { let ret = self . required_visibility == ty :: Visibility :: Public && self . tcx . is_private_dep ( item_id . krate ) ; tracing :: debug ! ( " " item_id ret ) ; ret }
An item is 'leaked' from a private dependency if all
of the following are true:
1.
An item is ' leaked ' from a private dependency if all of the following are true : 1 .
&self
item_id
DefId
&self
item_id
DefId