--- source: full-moon/tests/fail_cases.rs expression: result.errors() --- - AstError: token: start_position: bytes: 36 line: 3 character: 2 end_position: bytes: 42 line: 3 character: 8 token_type: type: Symbol symbol: return additional: "expected `end` to close function body block" range: - bytes: 28 line: 2 character: 2 - bytes: 34 line: 2 character: 8 - AstError: token: start_position: bytes: 15 line: 1 character: 16 end_position: bytes: 16 line: 1 character: 17 token_type: type: Symbol symbol: ( additional: "expected `)` to close function call" - AstError: token: start_position: bytes: 43 line: 4 character: 1 end_position: bytes: 46 line: 4 character: 4 token_type: type: Symbol symbol: end additional: "unexpected token, this needs to be a statement"