SOURCE_FILE
  FN
    FN_KW "fn"
    WHITESPACE " "
    NAME
      IDENT "foo"
    PARAM_LIST
      L_PAREN "("
      R_PAREN ")"
    WHITESPACE " "
    BLOCK_EXPR
      STMT_LIST
        L_CURLY "{"
        WHITESPACE "\n    "
        EXPR_STMT
          MATCH_EXPR
            MATCH_KW "match"
            WHITESPACE " "
            TUPLE_EXPR
              L_PAREN "("
              R_PAREN ")"
            WHITESPACE " "
            MATCH_ARM_LIST
              L_CURLY "{"
              WHITESPACE "\n        "
              MATCH_ARM
                WILDCARD_PAT
                  UNDERSCORE "_"
                WHITESPACE " "
                FAT_ARROW "=>"
                WHITESPACE " "
                TUPLE_EXPR
                  L_PAREN "("
                  R_PAREN ")"
                COMMA ","
              WHITESPACE "\n        "
              MATCH_ARM
                ATTR
                  POUND "#"
                ERROR
                  BANG "!"
                ARRAY_EXPR
                  L_BRACK "["
                  CALL_EXPR
                    PATH_EXPR
                      PATH
                        PATH_SEGMENT
                          NAME_REF
                            IDENT "doc"
                    ARG_LIST
                      L_PAREN "("
                      LITERAL
                        STRING "\"Not allowed here\""
                      R_PAREN ")"
                  R_BRACK "]"
              WHITESPACE "\n        "
              MATCH_ARM
                WILDCARD_PAT
                  UNDERSCORE "_"
                WHITESPACE " "
                FAT_ARROW "=>"
                WHITESPACE " "
                TUPLE_EXPR
                  L_PAREN "("
                  R_PAREN ")"
                COMMA ","
              WHITESPACE "\n    "
              R_CURLY "}"
        WHITESPACE "\n\n    "
        EXPR_STMT
          MATCH_EXPR
            MATCH_KW "match"
            WHITESPACE " "
            TUPLE_EXPR
              L_PAREN "("
              R_PAREN ")"
            WHITESPACE " "
            MATCH_ARM_LIST
              L_CURLY "{"
              WHITESPACE "\n        "
              MATCH_ARM
                WILDCARD_PAT
                  UNDERSCORE "_"
                WHITESPACE " "
                FAT_ARROW "=>"
                WHITESPACE " "
                TUPLE_EXPR
                  L_PAREN "("
                  R_PAREN ")"
                COMMA ","
              WHITESPACE "\n        "
              MATCH_ARM
                WILDCARD_PAT
                  UNDERSCORE "_"
                WHITESPACE " "
                FAT_ARROW "=>"
                WHITESPACE " "
                TUPLE_EXPR
                  L_PAREN "("
                  R_PAREN ")"
                COMMA ","
              WHITESPACE "\n        "
              MATCH_ARM
                ATTR
                  POUND "#"
                ERROR
                  BANG "!"
                ARRAY_EXPR
                  L_BRACK "["
                  CALL_EXPR
                    PATH_EXPR
                      PATH
                        PATH_SEGMENT
                          NAME_REF
                            IDENT "doc"
                    ARG_LIST
                      L_PAREN "("
                      LITERAL
                        STRING "\"Nor here\""
                      R_PAREN ")"
                  R_BRACK "]"
              WHITESPACE "\n    "
              R_CURLY "}"
        WHITESPACE "\n\n    "
        MATCH_EXPR
          MATCH_KW "match"
          WHITESPACE " "
          TUPLE_EXPR
            L_PAREN "("
            R_PAREN ")"
          WHITESPACE " "
          MATCH_ARM_LIST
            L_CURLY "{"
            WHITESPACE "\n        "
            MATCH_ARM
              ATTR
                POUND "#"
                L_BRACK "["
                META
                  PATH
                    PATH_SEGMENT
                      NAME_REF
                        IDENT "cfg"
                  TOKEN_TREE
                    L_PAREN "("
                    IDENT "test"
                    R_PAREN ")"
                R_BRACK "]"
              WHITESPACE "\n        "
              ATTR
                POUND "#"
              ERROR
                BANG "!"
              ARRAY_EXPR
                L_BRACK "["
                CALL_EXPR
                  PATH_EXPR
                    PATH
                      PATH_SEGMENT
                        NAME_REF
                          IDENT "doc"
                  ARG_LIST
                    L_PAREN "("
                    LITERAL
                      STRING "\"Nor here\""
                    R_PAREN ")"
                R_BRACK "]"
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n        "
            MATCH_ARM
              WILDCARD_PAT
                UNDERSCORE "_"
              WHITESPACE " "
              FAT_ARROW "=>"
              WHITESPACE " "
              TUPLE_EXPR
                L_PAREN "("
                R_PAREN ")"
              COMMA ","
            WHITESPACE "\n    "
            R_CURLY "}"
        WHITESPACE "\n"
        R_CURLY "}"
  WHITESPACE "\n"
error 52: expected `[`
error 52: expected pattern
error 53: expected FAT_ARROW
error 78: expected `,`
error 161: expected `[`
error 161: expected pattern
error 162: expected FAT_ARROW
error 232: expected `[`
error 232: expected pattern
error 233: expected FAT_ARROW
error 250: expected `,`
