diff options
author | Aleksey Kladov <[email protected]> | 2018-09-16 10:54:24 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-09-16 11:07:39 +0100 |
commit | b5021411a84822cb3f1e3aeffad9550dd15bdeb6 (patch) | |
tree | 9dca564f8e51b298dced01c4ce669c756dce3142 /crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt | |
parent | ba0bfeee12e19da40b5eabc8d0408639af10e96f (diff) |
rename all things
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt')
-rw-r--r-- | crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt | 89 |
1 files changed, 89 insertions, 0 deletions
diff --git a/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt new file mode 100644 index 000000000..e1a6b6432 --- /dev/null +++ b/crates/ra_syntax/tests/data/parser/err/0013_invalid_type.txt | |||
@@ -0,0 +1,89 @@ | |||
1 | ROOT@[0; 86) | ||
2 | STRUCT_DEF@[0; 72) | ||
3 | VISIBILITY@[0; 3) | ||
4 | PUB_KW@[0; 3) | ||
5 | WHITESPACE@[3; 4) | ||
6 | STRUCT_KW@[4; 10) | ||
7 | WHITESPACE@[10; 11) | ||
8 | NAME@[11; 16) | ||
9 | IDENT@[11; 16) "Cache" | ||
10 | POS_FIELD_LIST@[16; 72) | ||
11 | L_PAREN@[16; 17) | ||
12 | WHITESPACE@[17; 22) | ||
13 | POS_FIELD@[22; 68) | ||
14 | PATH_TYPE@[22; 68) | ||
15 | PATH@[22; 68) | ||
16 | PATH_SEGMENT@[22; 68) | ||
17 | NAME_REF@[22; 29) | ||
18 | IDENT@[22; 29) "RefCell" | ||
19 | TYPE_ARG_LIST@[29; 68) | ||
20 | L_ANGLE@[29; 30) | ||
21 | TYPE_ARG@[30; 68) | ||
22 | PATH_TYPE@[30; 68) | ||
23 | PATH@[30; 68) | ||
24 | PATH_SEGMENT@[30; 68) | ||
25 | NAME_REF@[30; 37) | ||
26 | IDENT@[30; 37) "HashMap" | ||
27 | TYPE_ARG_LIST@[37; 68) | ||
28 | L_ANGLE@[37; 38) | ||
29 | WHITESPACE@[38; 47) | ||
30 | TYPE_ARG@[47; 53) | ||
31 | PATH_TYPE@[47; 53) | ||
32 | PATH@[47; 53) | ||
33 | PATH_SEGMENT@[47; 53) | ||
34 | NAME_REF@[47; 53) | ||
35 | IDENT@[47; 53) "TypeId" | ||
36 | COMMA@[53; 54) | ||
37 | WHITESPACE@[54; 63) | ||
38 | TYPE_ARG@[63; 68) | ||
39 | PATH_TYPE@[63; 68) | ||
40 | PATH@[63; 68) | ||
41 | PATH_SEGMENT@[63; 68) | ||
42 | NAME_REF@[63; 66) | ||
43 | IDENT@[63; 66) "Box" | ||
44 | TYPE_ARG_LIST@[66; 68) | ||
45 | L_ANGLE@[66; 67) | ||
46 | err: `expected type` | ||
47 | TYPE_ARG@[67; 68) | ||
48 | ERROR@[67; 68) | ||
49 | AT@[67; 68) | ||
50 | err: `expected COMMA` | ||
51 | err: `expected R_ANGLE` | ||
52 | err: `expected COMMA` | ||
53 | err: `expected R_ANGLE` | ||
54 | err: `expected COMMA` | ||
55 | err: `expected R_ANGLE` | ||
56 | err: `expected COMMA` | ||
57 | WHITESPACE@[68; 69) | ||
58 | POS_FIELD@[69; 72) | ||
59 | PATH_TYPE@[69; 72) | ||
60 | PATH@[69; 72) | ||
61 | PATH_SEGMENT@[69; 72) | ||
62 | NAME_REF@[69; 72) | ||
63 | IDENT@[69; 72) "Any" | ||
64 | err: `expected COMMA` | ||
65 | err: `expected a type` | ||
66 | err: `expected R_PAREN` | ||
67 | err: `expected SEMI` | ||
68 | err: `expected an item` | ||
69 | ERROR@[72; 72) | ||
70 | ERROR@[72; 73) | ||
71 | R_ANGLE@[72; 73) | ||
72 | err: `expected an item` | ||
73 | ERROR@[73; 74) | ||
74 | COMMA@[73; 74) | ||
75 | WHITESPACE@[74; 79) | ||
76 | err: `expected an item` | ||
77 | ERROR@[79; 80) | ||
78 | R_ANGLE@[79; 80) | ||
79 | err: `expected an item` | ||
80 | ERROR@[80; 81) | ||
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) | ||
88 | SEMI@[83; 84) | ||
89 | WHITESPACE@[84; 86) | ||