SOURCE_FILE
  FN
    FN_KW "fn"
    WHITESPACE " "
    NAME
      IDENT "foo"
    PARAM_LIST
      L_PAREN "("
      R_PAREN ")"
    WHITESPACE " "
    RET_TYPE
      THIN_ARROW "->"
      WHITESPACE " "
      PATH_TYPE
        PATH
          PATH_SEGMENT
            NAME_REF
              IDENT "i32"
    WHITESPACE " "
    BLOCK_EXPR
      STMT_LIST
        L_CURLY "{"
        WHITESPACE "\n    "
        EXPR_STMT
          METHOD_CALL_EXPR
            METHOD_CALL_EXPR
              METHOD_CALL_EXPR
                ARRAY_EXPR
                  L_BRACK "["
                  LITERAL
                    INT_NUMBER "1"
                  COMMA ","
                  WHITESPACE " "
                  LITERAL
                    INT_NUMBER "2"
                  COMMA ","
                  WHITESPACE " "
                  LITERAL
                    INT_NUMBER "3"
                  R_BRACK "]"
                DOT "."
                NAME_REF
                  IDENT "iter"
                ARG_LIST
                  L_PAREN "("
                  R_PAREN ")"
              WHITESPACE "\n        "
              DOT "."
              NAME_REF
                IDENT "map"
              ARG_LIST
                L_PAREN "("
                CLOSURE_EXPR
                  PARAM_LIST
                    PIPE "|"
                    PARAM
                      IDENT_PAT
                        NAME
                          IDENT "it"
                    PIPE "|"
                R_PAREN ")"
            WHITESPACE "\n        "
            DOT "."
            NAME_REF
              IDENT "max"
            GENERIC_ARG_LIST
              COLON2 "::"
              L_ANGLE "<"
              TYPE_ARG
                PATH_TYPE
                  PATH
                    PATH_SEGMENT
                      NAME_REF
                        IDENT "i32"
              R_ANGLE ">"
            ARG_LIST
              L_PAREN "("
              R_PAREN ")"
          SEMICOLON ";"
        WHITESPACE "\n"
        R_CURLY "}"
  WHITESPACE "\n"
error 56: expected expression
