pub fn missing_return() -> Self {
        SemanticError {
            kind: ErrorKind::MissingReturn,
            context: vec![],
        }
    }
/// Create a new error with kind `MissingReturn`
Create a new error with kind `MissingReturn`
Create a new error with kind ` MissingReturn `
pub fn missing_return() -> Self {
        SemanticError {
            kind: ErrorKind::MissingReturn,
            context: vec![],
        }
    }
pub fn missing_return ( ) -> Self { SemanticError { kind : ErrorKind :: MissingReturn , context : vec ! [ ] , } }
Create a new error with kind `MissingReturn`
Create a new error with kind ` MissingReturn `