fn pseudo_vis(&self) -> ty::Visibility {
        if self.is_variant() && self.res().def_id().is_local() {
            ty::Visibility::Public
        } else {
            self.vis
        }
    }
// We sometimes need to treat variants as `pub` for backwards compatibility.
We sometimes need to treat variants as `pub` for backwards compatibility.
We sometimes need to treat variants as ` pub ` for backwards compatibility .
fn pseudo_vis(&self) -> ty::Visibility {
        if self.is_variant() && self.res().def_id().is_local() {
            ty::Visibility::Public
        } else {
            self.vis
        }
    }
fn pseudo_vis ( & self ) -> ty :: Visibility { if self . is_variant ( ) && self . res ( ) . def_id ( ) . is_local ( ) { ty :: Visibility :: Public } else { self . vis } }
We sometimes need to treat variants as `pub` for backwards compatibility.
We sometimes need to treat variants as ` pub ` for backwards compatibility .
&self
&self