pub fn new_visibility_scope(&mut self, span: Span) -> VisibilityScope {
        let parent = self.visibility_scope;
        let scope = VisibilityScope::new(self.visibility_scopes.len());
        self.visibility_scopes.push(VisibilityScopeData {
            span,
            parent_scope: Some(parent),
        });
        scope
    }
/// Creates a new visibility scope, nested in the current one.
Creates a new visibility scope, nested in the current one.
Creates a new visibility scope nested in the current one .
pub fn new_visibility_scope(&mut self, span: Span) -> VisibilityScope {
        let parent = self.visibility_scope;
        let scope = VisibilityScope::new(self.visibility_scopes.len());
        self.visibility_scopes.push(VisibilityScopeData {
            span,
            parent_scope: Some(parent),
        });
        scope
    }
pub fn new_visibility_scope ( & mut self , span : Span ) -> VisibilityScope { let parent = self . visibility_scope ; let scope = VisibilityScope :: new ( self . visibility_scopes . len ( ) ) ; self . visibility_scopes . push ( VisibilityScopeData { span , parent_scope : Some ( parent ) , } ) ; scope }
Creates a new visibility scope, nested in the current one.
Creates a new visibility scope nested in the current one .
&mut self
span
Span
&mut self
span
Span