--- source: full-moon/tests/fail_cases.rs expression: result.errors input_file: full-moon/tests/cases/fail/parser/generic-for-4 --- - AstError: token: start_position: bytes: 9 line: 1 character: 10 end_position: bytes: 10 line: 1 character: 11 token_type: type: Symbol symbol: "," additional: trailing commas are not allowed - AstError: token: start_position: bytes: 11 line: 1 character: 12 end_position: bytes: 16 line: 1 character: 17 token_type: type: Symbol symbol: local additional: "expected `in` after name list" - AstError: token: start_position: bytes: 17 line: 1 character: 18 end_position: bytes: 19 line: 1 character: 20 token_type: type: Symbol symbol: in additional: "expected either a variable name or `function`" - AstError: token: start_position: bytes: 17 line: 1 character: 18 end_position: bytes: 19 line: 1 character: 20 token_type: type: Symbol symbol: in additional: "unexpected token, this needs to be a statement"