---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/index-1
---
- AstError:
    token:
      start_position:
        bytes: 3
        line: 1
        character: 4
      end_position:
        bytes: 3
        line: 1
        character: 4
      token_type:
        type: Eof
    additional: "expected `]` to close index expression"
    range:
      - bytes: 1
        line: 1
        character: 2
      - bytes: 3
        line: 1
        character: 4
- AstError:
    token:
      start_position:
        bytes: 3
        line: 1
        character: 4
      end_position:
        bytes: 3
        line: 1
        character: 4
      token_type:
        type: Eof
    additional: unexpected expression when looking for a statement

