rust/crates/parser/test_data/parser/err/0005_attribute_recover.rast
2022-03-06 08:43:18 +00:00

63 lines
1.1 KiB
Plaintext

SOURCE_FILE
FN
ATTR
POUND "#"
L_BRACK "["
META
PATH
PATH_SEGMENT
NAME_REF
IDENT "foo"
TOKEN_TREE
L_PAREN "("
IDENT "foo"
COMMA ","
WHITESPACE " "
PLUS "+"
COMMA ","
WHITESPACE " "
INT_NUMBER "92"
R_PAREN ")"
R_BRACK "]"
WHITESPACE "\n"
FN_KW "fn"
WHITESPACE " "
NAME
IDENT "foo"
PARAM_LIST
L_PAREN "("
R_PAREN ")"
WHITESPACE " "
BLOCK_EXPR
STMT_LIST
L_CURLY "{"
WHITESPACE "\n"
R_CURLY "}"
WHITESPACE "\n\n\n"
ATTR
POUND "#"
L_BRACK "["
META
PATH
PATH_SEGMENT
NAME_REF
IDENT "foo"
TOKEN_TREE
L_PAREN "("
WHITESPACE "\n"
FN_KW "fn"
WHITESPACE " "
IDENT "foo"
TOKEN_TREE
L_PAREN "("
R_PAREN ")"
WHITESPACE " "
TOKEN_TREE
L_CURLY "{"
WHITESPACE "\n"
R_CURLY "}"
WHITESPACE "\n"
error 53: expected R_PAREN
error 53: expected `]`
error 53: expected an item