---
source: full-moon/tests/fail_cases.rs
assertion_line: 56
expression: "String::from_utf8(output.into_inner()).unwrap()"
input_file: full-moon/tests/cases/fail/parser/generic-for-4
---
error[ast]: trailing commas are not allowed
┌─ source.lua:1:10
│
1 │ for index, local in pairs(list) do end
│ ^
error[ast]: expected `in` after name list
┌─ source.lua:1:12
│
1 │ for index, local in pairs(list) do end
│ ^^^^^
error[ast]: expected either a variable name or `function`
┌─ source.lua:1:18
│
1 │ for index, local in pairs(list) do end
│ ^^
error[ast]: unexpected token, this needs to be a statement
┌─ source.lua:1:18
│
1 │ for index, local in pairs(list) do end
│ ^^