fn last_mut(&mut self, span: Span) -> Result<&mut Scope, CompileError> {
        if let Some(scope) = self.stack.last_mut() {
            Ok(scope)
        } else {
            Err(CompileError::msg(span, "empty stack of scopes"))
        }
    }
/// Access the last scope mutably.
Access the last scope mutably.
Access the last scope mutably .
fn last_mut(&mut self, span: Span) -> Result<&mut Scope, CompileError> {
        if let Some(scope) = self.stack.last_mut() {
            Ok(scope)
        } else {
            Err(CompileError::msg(span, "empty stack of scopes"))
        }
    }
fn last_mut ( & mut self , span : Span ) -> Result < & mut Scope , CompileError > { if let Some ( scope ) = self . stack . last_mut ( ) { Ok ( scope ) } else { Err ( CompileError :: msg ( span , " " ) ) } }
Access the last scope mutably.
Access the last scope mutably .
&mut self
span
Span
&mut self
span
Span