diff options
author | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-24 17:27:30 +0100 |
commit | 7edab6ae6b4c5d0c411e88f10e923b91dca31de3 (patch) | |
tree | 4c17856285f568c56adb7c02024ef80e821dd367 /crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt | |
parent | 4d293003964c8f9fabadb1ceb77eab29c0438de3 (diff) |
nodes for blocks
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.txt | 143 |
1 files changed, 72 insertions, 71 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 3ec4be9fa..7f48502da 100644 --- a/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt +++ b/crates/libsyntax2/tests/data/parser/err/0013_invalid_type.txt | |||
@@ -7,76 +7,77 @@ FILE@[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 | L_PAREN@[16; 17) | 10 | POS_FIELD_LIST@[16; 83) |
11 | WHITESPACE@[17; 22) | 11 | L_PAREN@[16; 17) |
12 | POS_FIELD@[22; 68) | 12 | WHITESPACE@[17; 22) |
13 | PATH_TYPE@[22; 68) | 13 | POS_FIELD@[22; 68) |
14 | PATH@[22; 68) | 14 | PATH_TYPE@[22; 68) |
15 | PATH_SEGMENT@[22; 68) | 15 | PATH@[22; 68) |
16 | NAME_REF@[22; 29) | 16 | PATH_SEGMENT@[22; 68) |
17 | IDENT@[22; 29) "RefCell" | 17 | NAME_REF@[22; 29) |
18 | TYPE_ARG_LIST@[29; 68) | 18 | IDENT@[22; 29) "RefCell" |
19 | L_ANGLE@[29; 30) | 19 | TYPE_ARG_LIST@[29; 68) |
20 | TYPE_ARG@[30; 68) | 20 | L_ANGLE@[29; 30) |
21 | PATH_TYPE@[30; 68) | 21 | TYPE_ARG@[30; 68) |
22 | PATH@[30; 68) | 22 | PATH_TYPE@[30; 68) |
23 | PATH_SEGMENT@[30; 68) | 23 | PATH@[30; 68) |
24 | NAME_REF@[30; 37) | 24 | PATH_SEGMENT@[30; 68) |
25 | IDENT@[30; 37) "HashMap" | 25 | NAME_REF@[30; 37) |
26 | TYPE_ARG_LIST@[37; 68) | 26 | IDENT@[30; 37) "HashMap" |
27 | L_ANGLE@[37; 38) | 27 | TYPE_ARG_LIST@[37; 68) |
28 | WHITESPACE@[38; 47) | 28 | L_ANGLE@[37; 38) |
29 | TYPE_ARG@[47; 53) | 29 | WHITESPACE@[38; 47) |
30 | PATH_TYPE@[47; 53) | 30 | TYPE_ARG@[47; 53) |
31 | PATH@[47; 53) | 31 | PATH_TYPE@[47; 53) |
32 | PATH_SEGMENT@[47; 53) | 32 | PATH@[47; 53) |
33 | NAME_REF@[47; 53) | 33 | PATH_SEGMENT@[47; 53) |
34 | IDENT@[47; 53) "TypeId" | 34 | NAME_REF@[47; 53) |
35 | COMMA@[53; 54) | 35 | IDENT@[47; 53) "TypeId" |
36 | WHITESPACE@[54; 63) | 36 | COMMA@[53; 54) |
37 | TYPE_ARG@[63; 68) | 37 | WHITESPACE@[54; 63) |
38 | PATH_TYPE@[63; 68) | 38 | TYPE_ARG@[63; 68) |
39 | PATH@[63; 68) | 39 | PATH_TYPE@[63; 68) |
40 | PATH_SEGMENT@[63; 68) | 40 | PATH@[63; 68) |
41 | NAME_REF@[63; 66) | 41 | PATH_SEGMENT@[63; 68) |
42 | IDENT@[63; 66) "Box" | 42 | NAME_REF@[63; 66) |
43 | TYPE_ARG_LIST@[66; 68) | 43 | IDENT@[63; 66) "Box" |
44 | L_ANGLE@[66; 67) | 44 | TYPE_ARG_LIST@[66; 68) |
45 | err: `expected type` | 45 | L_ANGLE@[66; 67) |
46 | TYPE_ARG@[67; 68) | 46 | err: `expected type` |
47 | ERROR@[67; 68) | 47 | TYPE_ARG@[67; 68) |
48 | AT@[67; 68) | 48 | ERROR@[67; 68) |
49 | err: `expected COMMA` | 49 | AT@[67; 68) |
50 | err: `expected R_ANGLE` | 50 | err: `expected COMMA` |
51 | err: `expected COMMA` | 51 | err: `expected R_ANGLE` |
52 | err: `expected R_ANGLE` | 52 | err: `expected COMMA` |
53 | err: `expected COMMA` | 53 | err: `expected R_ANGLE` |
54 | err: `expected R_ANGLE` | 54 | err: `expected COMMA` |
55 | err: `expected COMMA` | 55 | err: `expected R_ANGLE` |
56 | WHITESPACE@[68; 69) | 56 | err: `expected COMMA` |
57 | POS_FIELD@[69; 72) | 57 | WHITESPACE@[68; 69) |
58 | PATH_TYPE@[69; 72) | 58 | POS_FIELD@[69; 72) |
59 | PATH@[69; 72) | 59 | PATH_TYPE@[69; 72) |
60 | PATH_SEGMENT@[69; 72) | 60 | PATH@[69; 72) |
61 | NAME_REF@[69; 72) | 61 | PATH_SEGMENT@[69; 72) |
62 | IDENT@[69; 72) "Any" | 62 | NAME_REF@[69; 72) |
63 | err: `expected COMMA` | 63 | IDENT@[69; 72) "Any" |
64 | err: `expected type` | 64 | err: `expected COMMA` |
65 | POS_FIELD@[72; 73) | 65 | err: `expected type` |
66 | ERROR@[72; 73) | 66 | POS_FIELD@[72; 73) |
67 | R_ANGLE@[72; 73) | 67 | ERROR@[72; 73) |
68 | COMMA@[73; 74) | 68 | R_ANGLE@[72; 73) |
69 | WHITESPACE@[74; 79) | 69 | COMMA@[73; 74) |
70 | err: `expected type` | 70 | WHITESPACE@[74; 79) |
71 | POS_FIELD@[79; 80) | 71 | err: `expected type` |
72 | ERROR@[79; 80) | 72 | POS_FIELD@[79; 80) |
73 | R_ANGLE@[79; 80) | 73 | ERROR@[79; 80) |
74 | err: `expected COMMA` | 74 | R_ANGLE@[79; 80) |
75 | err: `expected type` | 75 | err: `expected COMMA` |
76 | POS_FIELD@[80; 81) | 76 | err: `expected type` |
77 | ERROR@[80; 81) | 77 | POS_FIELD@[80; 81) |
78 | R_ANGLE@[80; 81) | 78 | ERROR@[80; 81) |
79 | WHITESPACE@[81; 82) | 79 | R_ANGLE@[80; 81) |
80 | R_PAREN@[82; 83) | 80 | WHITESPACE@[81; 82) |
81 | R_PAREN@[82; 83) | ||
81 | SEMI@[83; 84) | 82 | SEMI@[83; 84) |
82 | WHITESPACE@[84; 86) | 83 | WHITESPACE@[84; 86) |