SOURCE_FILE
  TYPE_ALIAS
    TYPE_KW "type"
    WHITESPACE " "
    NAME
      IDENT "X"
    WHITESPACE " "
    EQ "="
    WHITESPACE " "
    PATH_TYPE
      PATH
        PATH_SEGMENT
          L_ANGLE "<"
          TUPLE_TYPE
            L_PAREN "("
            R_PAREN ")"
          R_ANGLE ">"
    SEMICOLON ";"
  WHITESPACE "\n"
  TYPE_ALIAS
    TYPE_KW "type"
    WHITESPACE " "
    NAME
      IDENT "Y"
    WHITESPACE " "
    EQ "="
    WHITESPACE " "
    PATH_TYPE
      PATH
        PATH_SEGMENT
          L_ANGLE "<"
          PATH_TYPE
            PATH
              PATH_SEGMENT
                NAME_REF
                  IDENT "A"
          WHITESPACE " "
          AS_KW "as"
          WHITESPACE " "
          PATH_TYPE
            PATH
              PATH_SEGMENT
                NAME_REF
                  IDENT "B"
          R_ANGLE ">"
    SEMICOLON ";"
  WHITESPACE "\n"
error 13: expected `::`
error 32: expected `::`
