---
source: full-moon/tests/fail_cases.rs
expression: result.errors
---
- AstError:
    token:
      start_position:
        bytes: 17
        line: 1
        character: 18
      end_position:
        bytes: 18
        line: 1
        character: 19
      token_type:
        type: Symbol
        symbol: ":"
    additional: "expected type info after `:`"
- AstError:
    token:
      start_position:
        bytes: 19
        line: 1
        character: 20
      end_position:
        bytes: 22
        line: 1
        character: 23
      token_type:
        type: Symbol
        symbol: "..."
    additional: "expected a `)`"
- AstError:
    token:
      start_position:
        bytes: 19
        line: 1
        character: 20
      end_position:
        bytes: 22
        line: 1
        character: 23
      token_type:
        type: Symbol
        symbol: "..."
    additional: "unexpected token, this needs to be a statement"
- AstError:
    token:
      start_position:
        bytes: 28
        line: 1
        character: 29
      end_position:
        bytes: 29
        line: 1
        character: 30
      token_type:
        type: Symbol
        symbol: )
    additional: unexpected expression when looking for a statement
- AstError:
    token:
      start_position:
        bytes: 28
        line: 1
        character: 29
      end_position:
        bytes: 29
        line: 1
        character: 30
      token_type:
        type: Symbol
        symbol: )
    additional: "unexpected token, this needs to be a statement"

