---
source: full-moon/tests/fail_cases.rs
expression: result.errors
---
- AstError:
    token:
      start_position:
        bytes: 15
        line: 1
        character: 16
      end_position:
        bytes: 17
        line: 1
        character: 18
      token_type:
        type: Symbol
        symbol: "->"
    additional: "function return type annotations should use `:` instead of `->`"

