---
source: full-moon/tests/fail_cases.rs
expression: result.errors
input_file: full-moon/tests/cases/fail/parser/while-2
---
- AstError:
    token:
      start_position:
        bytes: 0
        line: 1
        character: 1
      end_position:
        bytes: 5
        line: 1
        character: 6
      token_type:
        type: Symbol
        symbol: while
    additional: "expected a condition after `while`"
- AstError:
    token:
      start_position:
        bytes: 6
        line: 1
        character: 7
      end_position:
        bytes: 11
        line: 1
        character: 12
      token_type:
        type: Symbol
        symbol: until
    additional: "unexpected token, this needs to be a statement"

