aboutsummaryrefslogtreecommitdiff
path: root/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt
diff options
context:
space:
mode:
Diffstat (limited to 'crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt')
-rw-r--r--crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt44
1 files changed, 25 insertions, 19 deletions
diff --git a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt b/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt
index f7f6c6bce..e1a6b6432 100644
--- a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt
+++ b/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt
@@ -1,5 +1,5 @@
1ROOT@[0; 86) 1ROOT@[0; 86)
2 STRUCT_DEF@[0; 84) 2 STRUCT_DEF@[0; 72)
3 VISIBILITY@[0; 3) 3 VISIBILITY@[0; 3)
4 PUB_KW@[0; 3) 4 PUB_KW@[0; 3)
5 WHITESPACE@[3; 4) 5 WHITESPACE@[3; 4)
@@ -7,7 +7,7 @@ ROOT@[0; 86)
7 WHITESPACE@[10; 11) 7 WHITESPACE@[10; 11)
8 NAME@[11; 16) 8 NAME@[11; 16)
9 IDENT@[11; 16) "Cache" 9 IDENT@[11; 16) "Cache"
10 POS_FIELD_LIST@[16; 83) 10 POS_FIELD_LIST@[16; 72)
11 L_PAREN@[16; 17) 11 L_PAREN@[16; 17)
12 WHITESPACE@[17; 22) 12 WHITESPACE@[17; 22)
13 POS_FIELD@[22; 68) 13 POS_FIELD@[22; 68)
@@ -62,22 +62,28 @@ ROOT@[0; 86)
62 NAME_REF@[69; 72) 62 NAME_REF@[69; 72)
63 IDENT@[69; 72) "Any" 63 IDENT@[69; 72) "Any"
64 err: `expected COMMA` 64 err: `expected COMMA`
65 err: `expected type` 65 err: `expected a type`
66 POS_FIELD@[72; 73) 66 err: `expected R_PAREN`
67 ERROR@[72; 73) 67 err: `expected SEMI`
68 R_ANGLE@[72; 73) 68 err: `expected an item`
69 COMMA@[73; 74) 69 ERROR@[72; 72)
70 WHITESPACE@[74; 79) 70 ERROR@[72; 73)
71 err: `expected type` 71 R_ANGLE@[72; 73)
72 POS_FIELD@[79; 80) 72 err: `expected an item`
73 ERROR@[79; 80) 73 ERROR@[73; 74)
74 R_ANGLE@[79; 80) 74 COMMA@[73; 74)
75 err: `expected COMMA` 75 WHITESPACE@[74; 79)
76 err: `expected type` 76 err: `expected an item`
77 POS_FIELD@[80; 81) 77 ERROR@[79; 80)
78 ERROR@[80; 81) 78 R_ANGLE@[79; 80)
79 R_ANGLE@[80; 81) 79 err: `expected an item`
80 WHITESPACE@[81; 82) 80 ERROR@[80; 81)
81 R_PAREN@[82; 83) 81 R_ANGLE@[80; 81)
82 WHITESPACE@[81; 82)
83 err: `expected an item`
84 ERROR@[82; 83)
85 R_PAREN@[82; 83)
86 err: `expected an item`
87 ERROR@[83; 84)
82 SEMI@[83; 84) 88 SEMI@[83; 84)
83 WHITESPACE@[84; 86) 89 WHITESPACE@[84; 86)