---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/index-3
---
- AstError:
    token:
      start_position:
        bytes: 1
        line: 1
        character: 2
      end_position:
        bytes: 2
        line: 1
        character: 3
      token_type:
        type: Symbol
        symbol: "["
    additional: "expected expression after `[`"
- AstError:
    token:
      start_position:
        bytes: 2
        line: 1
        character: 3
      end_position:
        bytes: 3
        line: 1
        character: 4
      token_type:
        type: Symbol
        symbol: "]"
    additional: unexpected expression when looking for a statement
- AstError:
    token:
      start_position:
        bytes: 2
        line: 1
        character: 3
      end_position:
        bytes: 3
        line: 1
        character: 4
      token_type:
        type: Symbol
        symbol: "]"
    additional: "unexpected token, this needs to be a statement"

