fn parse_non_priv_visibility(&self) -> visibility {
        match self.parse_visibility() {
            public => public,
            inherited => inherited,
            private => {
                self.obsolete(*self.last_span, ObsoletePrivVisibility);
                inherited
            }
        }
    }
// parse visibility, but emits an obsolete error if it's private
parse visibility, but emits an obsolete error if it's private
parse visibility but emits an obsolete error if it ' s private
fn parse_non_priv_visibility(&self) -> visibility {
        match self.parse_visibility() {
            public => public,
            inherited => inherited,
            private => {
                self.obsolete(*self.last_span, ObsoletePrivVisibility);
                inherited
            }
        }
    }
fn parse_non_priv_visibility ( & self ) -> visibility { match self . parse_visibility ( ) { public => public , inherited => inherited , private => { self . obsolete ( * self . last_span , ObsoletePrivVisibility ) ; inherited } } }
parse visibility, but emits an obsolete error if it's private
parse visibility but emits an obsolete error if it ' s private
&self
&self