diff options
Diffstat (limited to 'crates/ra_syntax/test_data')
286 files changed, 1338 insertions, 1338 deletions
diff --git a/crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rast b/crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rast index 81f0f575c..bbbf496c8 100644 --- a/crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rast +++ b/crates/ra_syntax/test_data/parser/err/0000_struct_field_missing_comma.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..21 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "a" | 13 | [email protected] "a" |
14 | [email protected] ":" | 14 | [email protected] ":" |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "u32" | 20 | [email protected] "u32" |
21 | [email protected] "\n " | 21 | [email protected] "\n " |
22 | RECORD_FIELD_DEF@26..32 | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "b" | 24 | [email protected] "b" |
25 | [email protected] ":" | 25 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast b/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast index 97d0fe910..6dc73bfdb 100644 --- a/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast +++ b/crates/ra_syntax/test_data/parser/err/0001_item_recovery_in_file.rast | |||
@@ -5,13 +5,13 @@ [email protected] | |||
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "match" | 6 | [email protected] "match" |
7 | [email protected] "\n\n" | 7 | [email protected] "\n\n" |
8 | STRUCT_DEF@10..21 | 8 | [email protected] |
9 | [email protected] "struct" | 9 | [email protected] "struct" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "S" | 12 | [email protected] "S" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | RECORD_FIELD_DEF_[email protected] | 14 | [email protected] |
15 | [email protected] "{" | 15 | [email protected] "{" |
16 | [email protected] "}" | 16 | [email protected] "}" |
17 | error 0..0: expected an item | 17 | error 0..0: expected an item |
diff --git a/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast b/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast index 6717995e9..4cfd1bce4 100644 --- a/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast +++ b/crates/ra_syntax/test_data/parser/err/0002_duplicate_shebang.rast | |||
@@ -6,7 +6,7 @@ [email protected] | |||
6 | [email protected] "!" | 6 | [email protected] "!" |
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "/" | 8 | [email protected] "/" |
9 | USE_ITEM@24..28 | 9 | [email protected] |
10 | [email protected] "use" | 10 | [email protected] "use" |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "/" | 12 | [email protected] "/" |
diff --git a/crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rast b/crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rast index 21c255698..7763fad84 100644 --- a/crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rast +++ b/crates/ra_syntax/test_data/parser/err/0003_C++_semicolon.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..39 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..21 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "a" | 13 | [email protected] "a" |
14 | [email protected] ":" | 14 | [email protected] ":" |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] "i32" | 20 | [email protected] "i32" |
21 | [email protected] "," | 21 | [email protected] "," |
22 | [email protected] "\n " | 22 | [email protected] "\n " |
23 | RECORD_FIELD_DEF@27..36 | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "b" | 25 | [email protected] "b" |
26 | [email protected] ":" | 26 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rast b/crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rast index b3bcf472a..9a0f4665e 100644 --- a/crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rast +++ b/crates/ra_syntax/test_data/parser/err/0004_use_path_bad_segment.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..12 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rast b/crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rast index 375ed45e0..4845a6563 100644 --- a/crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rast +++ b/crates/ra_syntax/test_data/parser/err/0005_attribute_recover.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..31 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "#" | 4 | [email protected] "#" |
5 | [email protected] "[" | 5 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rast b/crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rast index 2d6364998..5f85c3943 100644 --- a/crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0006_named_field_recovery.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..73 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..21 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "f" | 13 | [email protected] "f" |
14 | [email protected] ":" | 14 | [email protected] ":" |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] | 35 | [email protected] |
36 | [email protected] "*" | 36 | [email protected] "*" |
37 | [email protected] "\n " | 37 | [email protected] "\n " |
38 | RECORD_FIELD_DEF@48..58 | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "pub" | 40 | [email protected] "pub" |
41 | [email protected] " " | 41 | [email protected] " " |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] "u32" | 50 | [email protected] "u32" |
51 | [email protected] "," | 51 | [email protected] "," |
52 | [email protected] "\n " | 52 | [email protected] "\n " |
53 | RECORD_FIELD_DEF@64..70 | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "z" | 55 | [email protected] "z" |
56 | [email protected] ":" | 56 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rast b/crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rast index b72c92c33..560bfd751 100644 --- a/crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rast +++ b/crates/ra_syntax/test_data/parser/err/0007_stray_curly_in_file.rast | |||
@@ -2,7 +2,7 @@ [email protected] | |||
2 | [email protected] | 2 | [email protected] |
3 | [email protected] "}" | 3 | [email protected] "}" |
4 | [email protected] "\n\n" | 4 | [email protected] "\n\n" |
5 | STRUCT_DEF@3..12 | 5 | [email protected] |
6 | [email protected] "struct" | 6 | [email protected] "struct" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n\n" | 14 | [email protected] "\n\n" |
15 | FN_DEF@17..27 | 15 | [email protected] |
16 | [email protected] "fn" | 16 | [email protected] "fn" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rast b/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rast index 33953d8d7..1e9637c26 100644 --- a/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0008_item_block_recovery.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -58,7 +58,7 @@ [email protected] | |||
58 | [email protected] "\n" | 58 | [email protected] "\n" |
59 | [email protected] "}" | 59 | [email protected] "}" |
60 | [email protected] "\n\n" | 60 | [email protected] "\n\n" |
61 | FN_DEF@82..94 | 61 | [email protected] |
62 | [email protected] "fn" | 62 | [email protected] "fn" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | [email protected] | 64 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast b/crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast index aca02ece4..dacf71aa1 100644 --- a/crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast +++ b/crates/ra_syntax/test_data/parser/err/0009_broken_struct_type_parameter.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] "90" | 10 | [email protected] "90" |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] "\n" | 38 | [email protected] "\n" |
39 | [email protected] "}" | 39 | [email protected] "}" |
40 | [email protected] "\n\n" | 40 | [email protected] "\n\n" |
41 | STRUCT_DEF@33..42 | 41 | [email protected] |
42 | [email protected] "struct" | 42 | [email protected] "struct" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rast b/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rast index 3bf57eacc..e0f1d0c27 100644 --- a/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rast +++ b/crates/ra_syntax/test_data/parser/err/0010_unsafe_lambda_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..41 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | [email protected] | 14 | [email protected] |
15 | LAMBDA[email protected] | 15 | CLOSURE[email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "|" | 17 | [email protected] "|" |
18 | [email protected] "|" | 18 | [email protected] "|" |
diff --git a/crates/ra_syntax/test_data/parser/err/0011_extern_struct.rast b/crates/ra_syntax/test_data/parser/err/0011_extern_struct.rast index 87c54c32c..b02d390af 100644 --- a/crates/ra_syntax/test_data/parser/err/0011_extern_struct.rast +++ b/crates/ra_syntax/test_data/parser/err/0011_extern_struct.rast | |||
@@ -3,7 +3,7 @@ [email protected] | |||
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "extern" | 4 | [email protected] "extern" |
5 | [email protected] " " | 5 | [email protected] " " |
6 | STRUCT_DEF@7..18 | 6 | [email protected] |
7 | [email protected] "struct" | 7 | [email protected] "struct" |
8 | [email protected] " " | 8 | [email protected] " " |
9 | [email protected] | 9 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast index e1e782f5f..f31c27633 100644 --- a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast +++ b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..389 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] | 4 | [email protected] |
5 | [email protected] | 5 | [email protected] |
@@ -10,7 +10,7 @@ [email protected] | |||
10 | [email protected] | 10 | [email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "process" | 12 | [email protected] "process" |
13 | TYP[email protected] | 13 | GENERIC[email protected] |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] "'a" | 16 | [email protected] "'a" |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "Sink" | 27 | [email protected] "Sink" |
28 | TYP[email protected] | 28 | GENERIC[email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] "'a" | 31 | [email protected] "'a" |
@@ -34,12 +34,12 @@ [email protected] | |||
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
37 | BIN[email protected] | 37 | IDENT[email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "builder" | 39 | [email protected] "builder" |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] | 41 | [email protected] |
42 | REFERENCE[email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
@@ -51,12 +51,12 @@ [email protected] | |||
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | BIN[email protected] | 54 | IDENT[email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "tokens" | 56 | [email protected] "tokens" |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | REFERENCE[email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] | 62 | [email protected] |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] |
72 | BIN[email protected] | 72 | IDENT[email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "events" | 74 | [email protected] "events" |
75 | [email protected] | 75 | [email protected] |
@@ -79,7 +79,7 @@ [email protected] | |||
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] "Vec" | 81 | [email protected] "Vec" |
82 | TYP[email protected] | 82 | GENERIC[email protected] |
83 | [email protected] | 83 | [email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
@@ -96,7 +96,7 @@ [email protected] | |||
96 | [email protected] | 96 | [email protected] |
97 | [email protected] | 97 | [email protected] |
98 | [email protected] | 98 | [email protected] |
99 | BIN[email protected] | 99 | IDENT[email protected] |
100 | [email protected] | 100 | [email protected] |
101 | [email protected] | 101 | [email protected] |
102 | [email protected] | 102 | [email protected] |
@@ -111,22 +111,22 @@ [email protected] | |||
111 | [email protected] | 111 | [email protected] |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] | 113 | [email protected] |
114 | BIN[email protected] | 114 | IDENT[email protected] |
115 | [email protected] | 115 | [email protected] |
116 | [email protected] "eat_ws" | 116 | [email protected] "eat_ws" |
117 | [email protected] | 117 | [email protected] |
118 | [email protected] | 118 | [email protected] |
119 | [email protected] | 119 | [email protected] |
120 | LAMBDA[email protected] | 120 | CLOSURE[email protected] |
121 | [email protected] | 121 | [email protected] |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | BIN[email protected] | 124 | IDENT[email protected] |
125 | [email protected] | 125 | [email protected] |
126 | [email protected] "idx" | 126 | [email protected] "idx" |
127 | [email protected] | 127 | [email protected] |
128 | [email protected] | 128 | [email protected] |
129 | REFERENCE[email protected] | 129 | [email protected] |
130 | [email protected] | 130 | [email protected] |
131 | [email protected] | 131 | [email protected] |
132 | [email protected] | 132 | [email protected] |
@@ -172,7 +172,7 @@ [email protected] | |||
172 | [email protected] | 172 | [email protected] |
173 | [email protected] "Some" | 173 | [email protected] "Some" |
174 | [email protected] | 174 | [email protected] |
175 | BIN[email protected] | 175 | IDENT[email protected] |
176 | [email protected] | 176 | [email protected] |
177 | [email protected] "token" | 177 | [email protected] "token" |
178 | [email protected] | 178 | [email protected] |
@@ -185,7 +185,7 @@ [email protected] | |||
185 | err: `expected COMMA` | 185 | err: `expected COMMA` |
186 | [email protected] | 186 | [email protected] |
187 | [email protected] | 187 | [email protected] |
188 | BIN[email protected] | 188 | IDENT[email protected] |
189 | [email protected] | 189 | [email protected] |
190 | [email protected] "tokens" | 190 | [email protected] "tokens" |
191 | err: `expected COMMA` | 191 | err: `expected COMMA` |
@@ -205,7 +205,7 @@ [email protected] | |||
205 | [email protected] | 205 | [email protected] |
206 | [email protected] | 206 | [email protected] |
207 | err: `expected COMMA` | 207 | err: `expected COMMA` |
208 | BIN[email protected] | 208 | IDENT[email protected] |
209 | [email protected] | 209 | [email protected] |
210 | [email protected] "idx" | 210 | [email protected] "idx" |
211 | [email protected] | 211 | [email protected] |
@@ -229,7 +229,7 @@ [email protected] | |||
229 | [email protected] | 229 | [email protected] |
230 | err: `expected COMMA` | 230 | err: `expected COMMA` |
231 | [email protected] | 231 | [email protected] |
232 | BIN[email protected] | 232 | IDENT[email protected] |
233 | [email protected] | 233 | [email protected] |
234 | [email protected] "token" | 234 | [email protected] "token" |
235 | err: `expected COMMA` | 235 | err: `expected COMMA` |
@@ -239,7 +239,7 @@ [email protected] | |||
239 | [email protected] | 239 | [email protected] |
240 | err: `expected COMMA` | 240 | err: `expected COMMA` |
241 | [email protected] | 241 | [email protected] |
242 | BIN[email protected] | 242 | IDENT[email protected] |
243 | [email protected] | 243 | [email protected] |
244 | [email protected] "kind" | 244 | [email protected] "kind" |
245 | err: `expected COMMA` | 245 | err: `expected COMMA` |
@@ -265,7 +265,7 @@ [email protected] | |||
265 | err: `expected COMMA` | 265 | err: `expected COMMA` |
266 | [email protected] | 266 | [email protected] |
267 | [email protected] | 267 | [email protected] |
268 | BIN[email protected] | 268 | IDENT[email protected] |
269 | [email protected] | 269 | [email protected] |
270 | [email protected] "break" | 270 | [email protected] "break" |
271 | err: `expected COMMA` | 271 | err: `expected COMMA` |
@@ -282,7 +282,7 @@ [email protected] | |||
282 | err: `expected COMMA` | 282 | err: `expected COMMA` |
283 | [email protected] | 283 | [email protected] |
284 | [email protected] | 284 | [email protected] |
285 | BIN[email protected] | 285 | IDENT[email protected] |
286 | [email protected] | 286 | [email protected] |
287 | [email protected] "builder" | 287 | [email protected] "builder" |
288 | err: `expected COMMA` | 288 | err: `expected COMMA` |
@@ -298,7 +298,7 @@ [email protected] | |||
298 | [email protected] | 298 | [email protected] |
299 | [email protected] "leaf" | 299 | [email protected] "leaf" |
300 | [email protected] | 300 | [email protected] |
301 | BIN[email protected] | 301 | IDENT[email protected] |
302 | [email protected] | 302 | [email protected] |
303 | [email protected] "token" | 303 | [email protected] "token" |
304 | err: `expected COMMA` | 304 | err: `expected COMMA` |
@@ -306,12 +306,12 @@ [email protected] | |||
306 | [email protected] | 306 | [email protected] |
307 | [email protected] | 307 | [email protected] |
308 | err: `expected COMMA` | 308 | err: `expected COMMA` |
309 | BIN[email protected] | 309 | IDENT[email protected] |
310 | [email protected] | 310 | [email protected] |
311 | [email protected] "kind" | 311 | [email protected] "kind" |
312 | [email protected] | 312 | [email protected] |
313 | [email protected] | 313 | [email protected] |
314 | BIN[email protected] | 314 | IDENT[email protected] |
315 | [email protected] | 315 | [email protected] |
316 | [email protected] "token" | 316 | [email protected] "token" |
317 | err: `expected COMMA` | 317 | err: `expected COMMA` |
@@ -319,7 +319,7 @@ [email protected] | |||
319 | [email protected] | 319 | [email protected] |
320 | [email protected] | 320 | [email protected] |
321 | err: `expected COMMA` | 321 | err: `expected COMMA` |
322 | BIN[email protected] | 322 | IDENT[email protected] |
323 | [email protected] | 323 | [email protected] |
324 | [email protected] "len" | 324 | [email protected] "len" |
325 | [email protected] | 325 | [email protected] |
@@ -336,7 +336,7 @@ [email protected] | |||
336 | [email protected] | 336 | [email protected] |
337 | err: `expected COMMA` | 337 | err: `expected COMMA` |
338 | [email protected] | 338 | [email protected] |
339 | BIN[email protected] | 339 | IDENT[email protected] |
340 | [email protected] | 340 | [email protected] |
341 | [email protected] "idx" | 341 | [email protected] "idx" |
342 | err: `expected COMMA` | 342 | err: `expected COMMA` |
diff --git a/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast b/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast index 211e5fd46..f48ab6e71 100644 --- a/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast +++ b/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..72 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "pub" | 4 | [email protected] "pub" |
5 | [email protected] " " | 5 | [email protected] " " |
@@ -7,16 +7,16 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "Cache" | 9 | [email protected] "Cache" |
10 | TUPLE_FIELD_DEF_[email protected] | 10 | [email protected] |
11 | [email protected] "(" | 11 | [email protected] "(" |
12 | [email protected] "\n " | 12 | [email protected] "\n " |
13 | TUPLE_FIELD_DEF@22..68 | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "RefCell" | 18 | [email protected] "RefCell" |
19 | TYP[email protected] | 19 | GENERIC[email protected] |
20 | [email protected] "<" | 20 | [email protected] "<" |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
@@ -24,7 +24,7 @@ [email protected] | |||
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "HashMap" | 26 | [email protected] "HashMap" |
27 | TYP[email protected] | 27 | GENERIC[email protected] |
28 | [email protected] "<" | 28 | [email protected] "<" |
29 | [email protected] "\n " | 29 | [email protected] "\n " |
30 | [email protected] | 30 | [email protected] |
@@ -41,13 +41,13 @@ [email protected] | |||
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "Box" | 43 | [email protected] "Box" |
44 | TYP[email protected] | 44 | GENERIC[email protected] |
45 | [email protected] "<" | 45 | [email protected] "<" |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "@" | 48 | [email protected] "@" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | TUPLE_FIELD_DEF@69..72 | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast index 9323b7890..a1f39b22a 100644 --- a/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast +++ b/crates/ra_syntax/test_data/parser/err/0014_where_no_bounds.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..22 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "foo" | 6 | [email protected] "foo" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rast b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rast index b18378cff..a3c25b450 100644 --- a/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rast +++ b/crates/ra_syntax/test_data/parser/err/0015_curly_in_params.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..7 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast b/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast index 93434f34f..66157c3dc 100644 --- a/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast +++ b/crates/ra_syntax/test_data/parser/err/0016_missing_semi.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..55 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast index 628315c78..fe094f61c 100644 --- a/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast +++ b/crates/ra_syntax/test_data/parser/err/0017_incomplete_binexpr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..46 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "foo" | 12 | [email protected] "foo" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "let" | 26 | [email protected] "let" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | BIN[email protected] | 28 | IDENT[email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "bar" | 30 | [email protected] "bar" |
31 | [email protected] " " | 31 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast index 31cc4e551..72939fc98 100644 --- a/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast +++ b/crates/ra_syntax/test_data/parser/err/0018_incomplete_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..182 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "FnScopes" | 9 | [email protected] "FnScopes" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@20..161 | 14 | [email protected] |
15 | [email protected] "fn" | 15 | [email protected] "fn" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "res" | 43 | [email protected] "res" |
44 | [email protected] " " | 44 | [email protected] " " |
@@ -75,16 +75,16 @@ [email protected] | |||
75 | [email protected] "push" | 75 | [email protected] "push" |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] "(" | 77 | [email protected] "(" |
78 | RECORD_LIT@111..154 | 78 | RECORD_EXPR@111..154 |
79 | [email protected] | 79 | [email protected] |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] "ScopeData" | 82 | [email protected] "ScopeData" |
83 | [email protected] " " | 83 | [email protected] " " |
84 | [email protected] | 84 | RECORD_EXPR_[email protected] |
85 | [email protected] "{" | 85 | [email protected] "{" |
86 | [email protected] " " | 86 | [email protected] " " |
87 | [email protected] | 87 | RECORD_EXPR_[email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] "parent" | 89 | [email protected] "parent" |
90 | [email protected] ":" | 90 | [email protected] ":" |
@@ -96,7 +96,7 @@ [email protected] | |||
96 | [email protected] "None" | 96 | [email protected] "None" |
97 | [email protected] "," | 97 | [email protected] "," |
98 | [email protected] " " | 98 | [email protected] " " |
99 | [email protected] | 99 | RECORD_EXPR_[email protected] |
100 | [email protected] | 100 | [email protected] |
101 | [email protected] "entries" | 101 | [email protected] "entries" |
102 | [email protected] ":" | 102 | [email protected] ":" |
@@ -116,7 +116,7 @@ [email protected] | |||
116 | [email protected] "\n " | 116 | [email protected] "\n " |
117 | [email protected] "}" | 117 | [email protected] "}" |
118 | [email protected] "\n\n " | 118 | [email protected] "\n\n " |
119 | FN_DEF@167..180 | 119 | [email protected] |
120 | [email protected] "fn" | 120 | [email protected] "fn" |
121 | [email protected] " " | 121 | [email protected] " " |
122 | [email protected] | 122 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast index 4ff27f5c8..72c05bd96 100644 --- a/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast +++ b/crates/ra_syntax/test_data/parser/err/0019_let_recover.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..138 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "foo" | 19 | [email protected] "foo" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "let" | 24 | [email protected] "let" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | BIN[email protected] | 26 | IDENT[email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "bar" | 28 | [email protected] "bar" |
29 | [email protected] " " | 29 | [email protected] " " |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "let" | 40 | [email protected] "let" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | BIN[email protected] | 42 | IDENT[email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "baz" | 44 | [email protected] "baz" |
45 | [email protected] " " | 45 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0020_fn_recover.rast b/crates/ra_syntax/test_data/parser/err/0020_fn_recover.rast index 5f3a31473..6f6feba5a 100644 --- a/crates/ra_syntax/test_data/parser/err/0020_fn_recover.rast +++ b/crates/ra_syntax/test_data/parser/err/0020_fn_recover.rast | |||
@@ -1,8 +1,8 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..2 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] "\n\n" | 4 | [email protected] "\n\n" |
5 | FN_DEF@4..15 | 5 | [email protected] |
6 | [email protected] "fn" | 6 | [email protected] "fn" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast index 1746bd3c1..b32845537 100644 --- a/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast +++ b/crates/ra_syntax/test_data/parser/err/0021_incomplete_param.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..21 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "x" | 12 | [email protected] "x" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] "," | 20 | [email protected] "," |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | BIN[email protected] | 23 | IDENT[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "y" | 25 | [email protected] "y" |
26 | [email protected] ")" | 26 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rast b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rast index 28146f44e..71fb19783 100644 --- a/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rast +++ b/crates/ra_syntax/test_data/parser/err/0022_bad_exprs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..33 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -28,7 +28,7 @@ [email protected] | |||
28 | [email protected] | 28 | [email protected] |
29 | [email protected] "," | 29 | [email protected] "," |
30 | [email protected] " " | 30 | [email protected] " " |
31 | STRUCT_DEF@19..26 | 31 | [email protected] |
32 | [email protected] "struct" | 32 | [email protected] "struct" |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "," | 34 | [email protected] "," |
@@ -40,7 +40,7 @@ [email protected] | |||
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] "}" | 41 | [email protected] "}" |
42 | [email protected] "\n" | 42 | [email protected] "\n" |
43 | FN_DEF@34..68 | 43 | [email protected] |
44 | [email protected] "fn" | 44 | [email protected] "fn" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | [email protected] | 46 | [email protected] |
@@ -75,7 +75,7 @@ [email protected] | |||
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "," | 76 | [email protected] "," |
77 | [email protected] " " | 77 | [email protected] " " |
78 | IMPL_DEF@56..60 | 78 | [email protected] |
79 | [email protected] "impl" | 79 | [email protected] "impl" |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] | 81 | [email protected] |
@@ -88,7 +88,7 @@ [email protected] | |||
88 | [email protected] " " | 88 | [email protected] " " |
89 | [email protected] "}" | 89 | [email protected] "}" |
90 | [email protected] "\n" | 90 | [email protected] "\n" |
91 | FN_DEF@69..111 | 91 | [email protected] |
92 | [email protected] "fn" | 92 | [email protected] "fn" |
93 | [email protected] " " | 93 | [email protected] " " |
94 | [email protected] | 94 | [email protected] |
@@ -133,7 +133,7 @@ [email protected] | |||
133 | [email protected] | 133 | [email protected] |
134 | [email protected] "," | 134 | [email protected] "," |
135 | [email protected] " " | 135 | [email protected] " " |
136 | TRAIT_DEF@98..104 | 136 | [email protected] |
137 | [email protected] "trait" | 137 | [email protected] "trait" |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] "," | 139 | [email protected] "," |
diff --git a/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast b/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast index 9ea9d715e..5ffefd742 100644 --- a/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast +++ b/crates/ra_syntax/test_data/parser/err/0023_mismatched_paren.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..55 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast b/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast index 48610a5eb..e3be6b22e 100644 --- a/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast +++ b/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..53 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "f" | 6 | [email protected] "f" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] "(" | 39 | [email protected] "(" |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "for" | 41 | [email protected] "for" |
42 | TYP[email protected] | 42 | GENERIC[email protected] |
43 | [email protected] "<" | 43 | [email protected] "<" |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] "\'a" | 45 | [email protected] "\'a" |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "Trait" | 52 | [email protected] "Trait" |
53 | TYP[email protected] | 53 | GENERIC[email protected] |
54 | [email protected] "<" | 54 | [email protected] "<" |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "\'a" | 56 | [email protected] "\'a" |
@@ -65,7 +65,7 @@ [email protected] | |||
65 | [email protected] "{" | 65 | [email protected] "{" |
66 | [email protected] "}" | 66 | [email protected] "}" |
67 | [email protected] "\n\n" | 67 | [email protected] "\n\n" |
68 | FN_DEF@55..239 | 68 | [email protected] |
69 | [email protected] "fn" | 69 | [email protected] "fn" |
70 | [email protected] " " | 70 | [email protected] " " |
71 | [email protected] | 71 | [email protected] |
@@ -80,7 +80,7 @@ [email protected] | |||
80 | [email protected] | 80 | [email protected] |
81 | [email protected] "let" | 81 | [email protected] "let" |
82 | [email protected] " " | 82 | [email protected] " " |
83 | PLACEHOLDE[email protected] | 83 | WILDCARD[email protected] |
84 | [email protected] "_" | 84 | [email protected] "_" |
85 | [email protected] ":" | 85 | [email protected] ":" |
86 | [email protected] " " | 86 | [email protected] " " |
@@ -92,7 +92,7 @@ [email protected] | |||
92 | [email protected] | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] "Box" | 94 | [email protected] "Box" |
95 | TYP[email protected] | 95 | GENERIC[email protected] |
96 | [email protected] "<" | 96 | [email protected] "<" |
97 | [email protected] | 97 | [email protected] |
98 | [email protected] | 98 | [email protected] |
@@ -122,7 +122,7 @@ [email protected] | |||
122 | [email protected] "(" | 122 | [email protected] "(" |
123 | [email protected] | 123 | [email protected] |
124 | [email protected] "for" | 124 | [email protected] "for" |
125 | TYP[email protected] | 125 | GENERIC[email protected] |
126 | [email protected] "<" | 126 | [email protected] "<" |
127 | [email protected] | 127 | [email protected] |
128 | [email protected] "\'a" | 128 | [email protected] "\'a" |
@@ -133,7 +133,7 @@ [email protected] | |||
133 | [email protected] | 133 | [email protected] |
134 | [email protected] | 134 | [email protected] |
135 | [email protected] "Trait" | 135 | [email protected] "Trait" |
136 | TYP[email protected] | 136 | GENERIC[email protected] |
137 | [email protected] "<" | 137 | [email protected] "<" |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] "\'a" | 139 | [email protected] "\'a" |
@@ -147,7 +147,7 @@ [email protected] | |||
147 | [email protected] | 147 | [email protected] |
148 | [email protected] "let" | 148 | [email protected] "let" |
149 | [email protected] " " | 149 | [email protected] " " |
150 | PLACEHOLDE[email protected] | 150 | WILDCARD[email protected] |
151 | [email protected] "_" | 151 | [email protected] "_" |
152 | [email protected] ":" | 152 | [email protected] ":" |
153 | [email protected] " " | 153 | [email protected] " " |
@@ -156,7 +156,7 @@ [email protected] | |||
156 | [email protected] | 156 | [email protected] |
157 | [email protected] | 157 | [email protected] |
158 | [email protected] "Box" | 158 | [email protected] "Box" |
159 | TYP[email protected] | 159 | GENERIC[email protected] |
160 | [email protected] "<" | 160 | [email protected] "<" |
161 | [email protected] | 161 | [email protected] |
162 | [email protected] | 162 | [email protected] |
@@ -223,7 +223,7 @@ [email protected] | |||
223 | [email protected] | 223 | [email protected] |
224 | [email protected] "let" | 224 | [email protected] "let" |
225 | [email protected] " " | 225 | [email protected] " " |
226 | PLACEHOLDE[email protected] | 226 | WILDCARD[email protected] |
227 | [email protected] "_" | 227 | [email protected] "_" |
228 | [email protected] ":" | 228 | [email protected] ":" |
229 | [email protected] " " | 229 | [email protected] " " |
@@ -235,14 +235,14 @@ [email protected] | |||
235 | [email protected] | 235 | [email protected] |
236 | [email protected] | 236 | [email protected] |
237 | [email protected] "Box" | 237 | [email protected] "Box" |
238 | TYP[email protected] | 238 | GENERIC[email protected] |
239 | [email protected] "<" | 239 | [email protected] "<" |
240 | [email protected] | 240 | [email protected] |
241 | [email protected] | 241 | [email protected] |
242 | [email protected] "(" | 242 | [email protected] "(" |
243 | [email protected] | 243 | [email protected] |
244 | [email protected] "for" | 244 | [email protected] "for" |
245 | TYP[email protected] | 245 | GENERIC[email protected] |
246 | [email protected] "<" | 246 | [email protected] "<" |
247 | [email protected] | 247 | [email protected] |
248 | [email protected] "\'a" | 248 | [email protected] "\'a" |
@@ -253,7 +253,7 @@ [email protected] | |||
253 | [email protected] | 253 | [email protected] |
254 | [email protected] | 254 | [email protected] |
255 | [email protected] "Trait" | 255 | [email protected] "Trait" |
256 | TYP[email protected] | 256 | GENERIC[email protected] |
257 | [email protected] "<" | 257 | [email protected] "<" |
258 | [email protected] | 258 | [email protected] |
259 | [email protected] "\'a" | 259 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/err/0025_nope.rast b/crates/ra_syntax/test_data/parser/err/0025_nope.rast index 88b086daf..83fc9fe77 100644 --- a/crates/ra_syntax/test_data/parser/err/0025_nope.rast +++ b/crates/ra_syntax/test_data/parser/err/0025_nope.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..574 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,26 +11,26 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | ENUM_DEF@16..152 | 14 | [email protected] |
15 | [email protected] "enum" | 15 | [email protected] "enum" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "Test" | 18 | [email protected] "Test" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | ENUM_[email protected] | 20 | [email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] "\n " | 22 | [email protected] "\n " |
23 | ENUM_[email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "Var1" | 25 | [email protected] "Var1" |
26 | [email protected] "," | 26 | [email protected] "," |
27 | [email protected] "\n " | 27 | [email protected] "\n " |
28 | ENUM_[email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "Var2" | 30 | [email protected] "Var2" |
31 | TUPLE_FIELD_DEF_[email protected] | 31 | [email protected] |
32 | [email protected] "(" | 32 | [email protected] "(" |
33 | TUPLE_FIELD_DEF@55..61 | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] | 36 | [email protected] |
@@ -39,14 +39,14 @@ [email protected] | |||
39 | [email protected] ")" | 39 | [email protected] ")" |
40 | [email protected] "," | 40 | [email protected] "," |
41 | [email protected] "\n " | 41 | [email protected] "\n " |
42 | ENUM_[email protected] | 42 | [email protected] |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "Var3" | 44 | [email protected] "Var3" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | RECORD_FIELD_DEF_[email protected] | 46 | [email protected] |
47 | [email protected] "{" | 47 | [email protected] "{" |
48 | [email protected] "\n " | 48 | [email protected] "\n " |
49 | RECORD_FIELD_DEF@91..95 | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "abc" | 51 | [email protected] "abc" |
52 | [email protected] ":" | 52 | [email protected] ":" |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "let" | 70 | [email protected] "let" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | BIN[email protected] | 72 | IDENT[email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "a" | 74 | [email protected] "a" |
75 | [email protected] " " | 75 | [email protected] " " |
@@ -79,39 +79,39 @@ [email protected] | |||
79 | [email protected] "1" | 79 | [email protected] "1" |
80 | [email protected] ";" | 80 | [email protected] ";" |
81 | [email protected] "\n " | 81 | [email protected] "\n " |
82 | ENUM_DEF@191..223 | 82 | [email protected] |
83 | [email protected] "enum" | 83 | [email protected] "enum" |
84 | [email protected] " " | 84 | [email protected] " " |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] "Test2" | 86 | [email protected] "Test2" |
87 | [email protected] " " | 87 | [email protected] " " |
88 | ENUM_[email protected] | 88 | [email protected] |
89 | [email protected] "{" | 89 | [email protected] "{" |
90 | [email protected] "\n " | 90 | [email protected] "\n " |
91 | ENUM_[email protected] | 91 | [email protected] |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] "Fine" | 93 | [email protected] "Fine" |
94 | [email protected] "," | 94 | [email protected] "," |
95 | [email protected] "\n " | 95 | [email protected] "\n " |
96 | [email protected] "}" | 96 | [email protected] "}" |
97 | [email protected] "\n\n " | 97 | [email protected] "\n\n " |
98 | ENUM_DEF@229..300 | 98 | [email protected] |
99 | [email protected] "enum" | 99 | [email protected] "enum" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | [email protected] | 101 | [email protected] |
102 | [email protected] "Test3" | 102 | [email protected] "Test3" |
103 | [email protected] " " | 103 | [email protected] " " |
104 | ENUM_[email protected] | 104 | [email protected] |
105 | [email protected] "{" | 105 | [email protected] "{" |
106 | [email protected] "\n " | 106 | [email protected] "\n " |
107 | ENUM_[email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] |
109 | [email protected] "StillFine" | 109 | [email protected] "StillFine" |
110 | [email protected] " " | 110 | [email protected] " " |
111 | RECORD_FIELD_DEF_[email protected] | 111 | [email protected] |
112 | [email protected] "{" | 112 | [email protected] "{" |
113 | [email protected] "\n " | 113 | [email protected] "\n " |
114 | RECORD_FIELD_DEF@274..282 | 114 | [email protected] |
115 | [email protected] | 115 | [email protected] |
116 | [email protected] "def" | 116 | [email protected] "def" |
117 | [email protected] ":" | 117 | [email protected] ":" |
@@ -132,7 +132,7 @@ [email protected] | |||
132 | [email protected] | 132 | [email protected] |
133 | [email protected] "{" | 133 | [email protected] "{" |
134 | [email protected] "\n " | 134 | [email protected] "\n " |
135 | ENUM_DEF@316..453 | 135 | [email protected] |
136 | [email protected] "// fail again" | 136 | [email protected] "// fail again" |
137 | [email protected] "\n " | 137 | [email protected] "\n " |
138 | [email protected] "enum" | 138 | [email protected] "enum" |
@@ -140,15 +140,15 @@ [email protected] | |||
140 | [email protected] | 140 | [email protected] |
141 | [email protected] "Test4" | 141 | [email protected] "Test4" |
142 | [email protected] " " | 142 | [email protected] " " |
143 | ENUM_[email protected] | 143 | [email protected] |
144 | [email protected] "{" | 144 | [email protected] "{" |
145 | [email protected] "\n " | 145 | [email protected] "\n " |
146 | ENUM_[email protected] | 146 | [email protected] |
147 | [email protected] | 147 | [email protected] |
148 | [email protected] "Nope" | 148 | [email protected] "Nope" |
149 | TUPLE_FIELD_DEF_[email protected] | 149 | [email protected] |
150 | [email protected] "(" | 150 | [email protected] "(" |
151 | TUPLE_FIELD_DEF@368..371 | 151 | [email protected] |
152 | [email protected] | 152 | [email protected] |
153 | [email protected] | 153 | [email protected] |
154 | [email protected] | 154 | [email protected] |
@@ -175,7 +175,7 @@ [email protected] | |||
175 | [email protected] | 175 | [email protected] |
176 | [email protected] "let" | 176 | [email protected] "let" |
177 | [email protected] " " | 177 | [email protected] " " |
178 | BIN[email protected] | 178 | IDENT[email protected] |
179 | [email protected] | 179 | [email protected] |
180 | [email protected] "bad_syntax" | 180 | [email protected] "bad_syntax" |
181 | [email protected] " " | 181 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast index bf07409fb..1b08c834e 100644 --- a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..14 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | TYP[email protected] | 4 | GENERIC[email protected] |
5 | [email protected] "<" | 5 | [email protected] "<" |
6 | [email protected] | 6 | [email protected] |
7 | [email protected] | 7 | [email protected] |
@@ -17,9 +17,9 @@ [email protected] | |||
17 | [email protected] "Clone" | 17 | [email protected] "Clone" |
18 | [email protected] ">" | 18 | [email protected] ">" |
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | IMPL_DEF@15..37 | 20 | [email protected] |
21 | [email protected] "impl" | 21 | [email protected] "impl" |
22 | TYP[email protected] | 22 | GENERIC[email protected] |
23 | [email protected] "<" | 23 | [email protected] "<" |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] | 25 | [email protected] |
@@ -31,7 +31,7 @@ [email protected] | |||
31 | [email protected] | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "OnceCell" | 33 | [email protected] "OnceCell" |
34 | TYP[email protected] | 34 | GENERIC[email protected] |
35 | [email protected] "<" | 35 | [email protected] "<" |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "T" | 41 | [email protected] "T" |
42 | [email protected] ">" | 42 | [email protected] ">" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | ASSOC_[email protected] |
45 | [email protected] "{" | 45 | [email protected] "{" |
46 | [email protected] "}" | 46 | [email protected] "}" |
47 | [email protected] "\n" | 47 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rast b/crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rast index 4d6461d1e..a8e42e6ea 100644 --- a/crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rast +++ b/crates/ra_syntax/test_data/parser/err/0027_incomplere_where_for.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..29 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -13,7 +13,7 @@ [email protected] | |||
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "for" | 15 | [email protected] "for" |
16 | TYP[email protected] | 16 | GENERIC[email protected] |
17 | [email protected] "<" | 17 | [email protected] "<" |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "\'a" | 19 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast index 0da8f59f0..c6402cdd8 100644 --- a/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast +++ b/crates/ra_syntax/test_data/parser/err/0029_field_completion.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..23 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "a" | 12 | [email protected] "a" |
13 | [email protected] ":" | 13 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast index 515819e42..a443b37db 100644 --- a/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast +++ b/crates/ra_syntax/test_data/parser/err/0031_block_inner_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..349 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "inner" | 19 | [email protected] "inner" |
20 | [email protected] " " | 20 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast b/crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast index c6859eca8..672dd054a 100644 --- a/crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast +++ b/crates/ra_syntax/test_data/parser/err/0032_match_arms_inner_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..292 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] "{" | 23 | [email protected] "{" |
24 | [email protected] "\n " | 24 | [email protected] "\n " |
25 | [email protected] | 25 | [email protected] |
26 | PLACEHOLDE[email protected] | 26 | WILDCARD[email protected] |
27 | [email protected] "_" | 27 | [email protected] "_" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] "=>" | 29 | [email protected] "=>" |
@@ -54,7 +54,7 @@ [email protected] | |||
54 | [email protected] "]" | 54 | [email protected] "]" |
55 | [email protected] "\n " | 55 | [email protected] "\n " |
56 | [email protected] | 56 | [email protected] |
57 | PLACEHOLDE[email protected] | 57 | WILDCARD[email protected] |
58 | [email protected] "_" | 58 | [email protected] "_" |
59 | [email protected] " " | 59 | [email protected] " " |
60 | [email protected] "=>" | 60 | [email protected] "=>" |
@@ -78,7 +78,7 @@ [email protected] | |||
78 | [email protected] "{" | 78 | [email protected] "{" |
79 | [email protected] "\n " | 79 | [email protected] "\n " |
80 | [email protected] | 80 | [email protected] |
81 | PLACEHOLDE[email protected] | 81 | WILDCARD[email protected] |
82 | [email protected] "_" | 82 | [email protected] "_" |
83 | [email protected] " " | 83 | [email protected] " " |
84 | [email protected] "=>" | 84 | [email protected] "=>" |
@@ -89,7 +89,7 @@ [email protected] | |||
89 | [email protected] "," | 89 | [email protected] "," |
90 | [email protected] "\n " | 90 | [email protected] "\n " |
91 | [email protected] | 91 | [email protected] |
92 | PLACEHOLDE[email protected] | 92 | WILDCARD[email protected] |
93 | [email protected] "_" | 93 | [email protected] "_" |
94 | [email protected] " " | 94 | [email protected] " " |
95 | [email protected] "=>" | 95 | [email protected] "=>" |
@@ -165,7 +165,7 @@ [email protected] | |||
165 | [email protected] "]" | 165 | [email protected] "]" |
166 | [email protected] "\n " | 166 | [email protected] "\n " |
167 | [email protected] | 167 | [email protected] |
168 | PLACEHOLDE[email protected] | 168 | WILDCARD[email protected] |
169 | [email protected] "_" | 169 | [email protected] "_" |
170 | [email protected] " " | 170 | [email protected] " " |
171 | [email protected] "=>" | 171 | [email protected] "=>" |
@@ -176,7 +176,7 @@ [email protected] | |||
176 | [email protected] "," | 176 | [email protected] "," |
177 | [email protected] "\n " | 177 | [email protected] "\n " |
178 | [email protected] | 178 | [email protected] |
179 | PLACEHOLDE[email protected] | 179 | WILDCARD[email protected] |
180 | [email protected] "_" | 180 | [email protected] "_" |
181 | [email protected] " " | 181 | [email protected] " " |
182 | [email protected] "=>" | 182 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast b/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast index 53e445459..33bb085e9 100644 --- a/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast +++ b/crates/ra_syntax/test_data/parser/err/0033_match_arms_outer_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..88 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] "{" | 22 | [email protected] "{" |
23 | [email protected] "\n " | 23 | [email protected] "\n " |
24 | [email protected] | 24 | [email protected] |
25 | PLACEHOLDE[email protected] | 25 | WILDCARD[email protected] |
26 | [email protected] "_" | 26 | [email protected] "_" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] "=>" | 28 | [email protected] "=>" |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] "," | 33 | [email protected] "," |
34 | [email protected] "\n " | 34 | [email protected] "\n " |
35 | [email protected] | 35 | [email protected] |
36 | PLACEHOLDE[email protected] | 36 | WILDCARD[email protected] |
37 | [email protected] "_" | 37 | [email protected] "_" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] "=>" | 39 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast index 1b2ac5011..d9d49bfb5 100644 --- a/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast +++ b/crates/ra_syntax/test_data/parser/err/0034_bad_box_pattern.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..89 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] "ref" | 18 | [email protected] "ref" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] "mut" | 42 | [email protected] "mut" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] | 62 | [email protected] |
63 | [email protected] "let" | 63 | [email protected] "let" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | BIN[email protected] | 65 | IDENT[email protected] |
66 | [email protected] "ref" | 66 | [email protected] "ref" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] "mut" | 68 | [email protected] "mut" |
diff --git a/crates/ra_syntax/test_data/parser/err/0035_use_recover.rast b/crates/ra_syntax/test_data/parser/err/0035_use_recover.rast index 9588cf3b3..2f03709eb 100644 --- a/crates/ra_syntax/test_data/parser/err/0035_use_recover.rast +++ b/crates/ra_syntax/test_data/parser/err/0035_use_recover.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..13 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,10 +14,10 @@ [email protected] | |||
14 | [email protected] "bar" | 14 | [email protected] "bar" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | USE_ITEM@14..17 | 17 | [email protected] |
18 | [email protected] "use" | 18 | [email protected] "use" |
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | USE_ITEM@18..33 | 20 | [email protected] |
21 | [email protected] "use" | 21 | [email protected] "use" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | [email protected] |
@@ -31,10 +31,10 @@ [email protected] | |||
31 | [email protected] "baz" | 31 | [email protected] "baz" |
32 | [email protected] ";" | 32 | [email protected] ";" |
33 | [email protected] "\n" | 33 | [email protected] "\n" |
34 | USE_ITEM@34..37 | 34 | [email protected] |
35 | [email protected] "use" | 35 | [email protected] "use" |
36 | [email protected] "\n" | 36 | [email protected] "\n" |
37 | FN_DEF@38..47 | 37 | [email protected] |
38 | [email protected] "fn" | 38 | [email protected] "fn" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast b/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast index f926b67d2..ef6172f8a 100644 --- a/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast +++ b/crates/ra_syntax/test_data/parser/err/0036_partial_use.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..36 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast b/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast index e3cda7c43..faf87d6e5 100644 --- a/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast +++ b/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..117 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,10 +14,10 @@ [email protected] | |||
14 | [email protected] "(" | 14 | [email protected] "(" |
15 | [email protected] ")" | 15 | [email protected] ")" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | ASSOC_[email protected] |
18 | [email protected] "{" | 18 | [email protected] "{" |
19 | [email protected] "\n " | 19 | [email protected] "\n " |
20 | FN_DEF@20..31 | 20 | [email protected] |
21 | [email protected] "fn" | 21 | [email protected] "fn" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | [email protected] |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] "{" | 30 | [email protected] "{" |
31 | [email protected] "}" | 31 | [email protected] "}" |
32 | [email protected] "\n " | 32 | [email protected] "\n " |
33 | FN_DEF@36..51 | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] "pub" | 35 | [email protected] "pub" |
36 | [email protected] " " | 36 | [email protected] " " |
@@ -46,7 +46,7 @@ [email protected] | |||
46 | [email protected] "{" | 46 | [email protected] "{" |
47 | [email protected] "}" | 47 | [email protected] "}" |
48 | [email protected] "\n " | 48 | [email protected] "\n " |
49 | TYPE_ALIAS_DEF@56..81 | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "pub" | 51 | [email protected] "pub" |
52 | [email protected] "(" | 52 | [email protected] "(" |
@@ -65,7 +65,7 @@ [email protected] | |||
65 | [email protected] ")" | 65 | [email protected] ")" |
66 | [email protected] ";" | 66 | [email protected] ";" |
67 | [email protected] "\n " | 67 | [email protected] "\n " |
68 | CONST_DEF@86..115 | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "pub" | 70 | [email protected] "pub" |
71 | [email protected] "(" | 71 | [email protected] "(" |
diff --git a/crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rast b/crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rast index 21db9ee85..bed7ad6c3 100644 --- a/crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rast +++ b/crates/ra_syntax/test_data/parser/err/0038_endless_inclusive_range.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..32 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast index ec950381b..a9c5b70fd 100644 --- a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..82 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -49,11 +49,11 @@ [email protected] | |||
49 | [email protected] "map" | 49 | [email protected] "map" |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "(" | 51 | [email protected] "(" |
52 | LAMBDA[email protected] | 52 | CLOSURE[email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "|" | 54 | [email protected] "|" |
55 | [email protected] | 55 | [email protected] |
56 | BIN[email protected] | 56 | IDENT[email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "it" | 58 | [email protected] "it" |
59 | [email protected] "|" | 59 | [email protected] "|" |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] "." | 62 | [email protected] "." |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] "max" | 64 | [email protected] "max" |
65 | TYP[email protected] | 65 | GENERIC[email protected] |
66 | [email protected] "::" | 66 | [email protected] "::" |
67 | [email protected] "<" | 67 | [email protected] "<" |
68 | [email protected] | 68 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast b/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast index d2a549273..284c8715b 100644 --- a/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast +++ b/crates/ra_syntax/test_data/parser/err/0040_illegal_crate_kw_location.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..12 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] "crate" | 9 | [email protected] "crate" |
10 | [email protected] ";" | 10 | [email protected] ";" |
11 | [email protected] "\n" | 11 | [email protected] "\n" |
12 | USE_ITEM@13..54 | 12 | [email protected] |
13 | [email protected] "use" | 13 | [email protected] "use" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
@@ -52,7 +52,7 @@ [email protected] | |||
52 | [email protected] "}" | 52 | [email protected] "}" |
53 | [email protected] ";" | 53 | [email protected] ";" |
54 | [email protected] "\n" | 54 | [email protected] "\n" |
55 | USE_ITEM@55..72 | 55 | [email protected] |
56 | [email protected] "use" | 56 | [email protected] "use" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | [email protected] |
@@ -66,7 +66,7 @@ [email protected] | |||
66 | [email protected] "crate" | 66 | [email protected] "crate" |
67 | [email protected] ";" | 67 | [email protected] ";" |
68 | [email protected] "\n" | 68 | [email protected] "\n" |
69 | USE_ITEM@73..97 | 69 | [email protected] |
70 | [email protected] "use" | 70 | [email protected] "use" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | [email protected] | 72 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast b/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast index d0360c467..2049a9d72 100644 --- a/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast +++ b/crates/ra_syntax/test_data/parser/err/0041_illegal_super_keyword_location.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..12 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] "super" | 9 | [email protected] "super" |
10 | [email protected] ";" | 10 | [email protected] ";" |
11 | [email protected] "\n" | 11 | [email protected] "\n" |
12 | USE_ITEM@13..26 | 12 | [email protected] |
13 | [email protected] "use" | 13 | [email protected] "use" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] "super" | 23 | [email protected] "super" |
24 | [email protected] ";" | 24 | [email protected] ";" |
25 | [email protected] "\n" | 25 | [email protected] "\n" |
26 | USE_ITEM@27..47 | 26 | [email protected] |
27 | [email protected] "use" | 27 | [email protected] "use" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] | 29 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "super" | 41 | [email protected] "super" |
42 | [email protected] ";" | 42 | [email protected] ";" |
43 | [email protected] "\n" | 43 | [email protected] "\n" |
44 | USE_ITEM@48..66 | 44 | [email protected] |
45 | [email protected] "use" | 45 | [email protected] "use" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast b/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast index 4f382b06c..deadf56b4 100644 --- a/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast +++ b/crates/ra_syntax/test_data/parser/err/0042_illegal_self_keyword_location.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..11 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] "self" | 9 | [email protected] "self" |
10 | [email protected] ";" | 10 | [email protected] ";" |
11 | [email protected] "\n" | 11 | [email protected] "\n" |
12 | USE_ITEM@12..24 | 12 | [email protected] |
13 | [email protected] "use" | 13 | [email protected] "use" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0043_default_const.rast b/crates/ra_syntax/test_data/parser/err/0043_default_const.rast index 8eb583ef8..51ad2a846 100644 --- a/crates/ra_syntax/test_data/parser/err/0043_default_const.rast +++ b/crates/ra_syntax/test_data/parser/err/0043_default_const.rast | |||
@@ -1,11 +1,11 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..38 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "T" | 6 | [email protected] "T" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | ASSOC_[email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | [email protected] | 11 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "default" | 15 | [email protected] "default" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | CONST_DEF@20..36 | 17 | [email protected] |
18 | [email protected] "const" | 18 | [email protected] "const" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rast b/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rast index cb90f28bc..71aa86494 100644 --- a/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rast +++ b/crates/ra_syntax/test_data/parser/err/0044_unexpected_for_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..30 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,13 +9,13 @@ [email protected] | |||
9 | [email protected] " " | 9 | [email protected] " " |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "for" | 11 | [email protected] "for" |
12 | TYP[email protected] | 12 | GENERIC[email protected] |
13 | [email protected] "<" | 13 | [email protected] "<" |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "\'a" | 15 | [email protected] "\'a" |
16 | [email protected] ">" | 16 | [email protected] ">" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | REFERENCE[email protected] | 18 | [email protected] |
19 | [email protected] "&" | 19 | [email protected] "&" |
20 | [email protected] "\'a" | 20 | [email protected] "\'a" |
21 | [email protected] " " | 21 | [email protected] " " |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] "u32" | 26 | [email protected] "u32" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] "\n" | 28 | [email protected] "\n" |
29 | TYPE_ALIAS_DEF@31..64 | 29 | [email protected] |
30 | [email protected] "type" | 30 | [email protected] "type" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
@@ -36,7 +36,7 @@ [email protected] | |||
36 | [email protected] " " | 36 | [email protected] " " |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "for" | 38 | [email protected] "for" |
39 | TYP[email protected] | 39 | GENERIC[email protected] |
40 | [email protected] "<" | 40 | [email protected] "<" |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "\'a" | 42 | [email protected] "\'a" |
@@ -44,7 +44,7 @@ [email protected] | |||
44 | [email protected] " " | 44 | [email protected] " " |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "(" | 46 | [email protected] "(" |
47 | REFERENCE[email protected] | 47 | [email protected] |
48 | [email protected] "&" | 48 | [email protected] "&" |
49 | [email protected] "\'a" | 49 | [email protected] "\'a" |
50 | [email protected] " " | 50 | [email protected] " " |
@@ -57,7 +57,7 @@ [email protected] | |||
57 | [email protected] ")" | 57 | [email protected] ")" |
58 | [email protected] ";" | 58 | [email protected] ";" |
59 | [email protected] "\n" | 59 | [email protected] "\n" |
60 | TYPE_ALIAS_DEF@65..95 | 60 | [email protected] |
61 | [email protected] "type" | 61 | [email protected] "type" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] | 63 | [email protected] |
@@ -67,7 +67,7 @@ [email protected] | |||
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] "for" | 69 | [email protected] "for" |
70 | TYP[email protected] | 70 | GENERIC[email protected] |
71 | [email protected] "<" | 71 | [email protected] "<" |
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "\'a" | 73 | [email protected] "\'a" |
@@ -83,7 +83,7 @@ [email protected] | |||
83 | [email protected] "]" | 83 | [email protected] "]" |
84 | [email protected] ";" | 84 | [email protected] ";" |
85 | [email protected] "\n" | 85 | [email protected] "\n" |
86 | TYPE_ALIAS_DEF@96..149 | 86 | [email protected] |
87 | [email protected] "type" | 87 | [email protected] "type" |
88 | [email protected] " " | 88 | [email protected] " " |
89 | [email protected] | 89 | [email protected] |
@@ -93,7 +93,7 @@ [email protected] | |||
93 | [email protected] " " | 93 | [email protected] " " |
94 | [email protected] | 94 | [email protected] |
95 | [email protected] "for" | 95 | [email protected] "for" |
96 | TYP[email protected] | 96 | GENERIC[email protected] |
97 | [email protected] "<" | 97 | [email protected] "<" |
98 | [email protected] | 98 | [email protected] |
99 | [email protected] "\'a" | 99 | [email protected] "\'a" |
@@ -101,18 +101,18 @@ [email protected] | |||
101 | [email protected] " " | 101 | [email protected] " " |
102 | [email protected] | 102 | [email protected] |
103 | [email protected] "for" | 103 | [email protected] "for" |
104 | TYP[email protected] | 104 | GENERIC[email protected] |
105 | [email protected] "<" | 105 | [email protected] "<" |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] "\'b" | 107 | [email protected] "\'b" |
108 | [email protected] ">" | 108 | [email protected] ">" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | FN_POINTE[email protected] | 110 | [email protected] |
111 | [email protected] "fn" | 111 | [email protected] "fn" |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] "(" | 113 | [email protected] "(" |
114 | [email protected] | 114 | [email protected] |
115 | REFERENCE[email protected] | 115 | [email protected] |
116 | [email protected] "&" | 116 | [email protected] "&" |
117 | [email protected] "\'a" | 117 | [email protected] "\'a" |
118 | [email protected] " " | 118 | [email protected] " " |
@@ -124,7 +124,7 @@ [email protected] | |||
124 | [email protected] "," | 124 | [email protected] "," |
125 | [email protected] " " | 125 | [email protected] " " |
126 | [email protected] | 126 | [email protected] |
127 | REFERENCE[email protected] | 127 | [email protected] |
128 | [email protected] "&" | 128 | [email protected] "&" |
129 | [email protected] "\'b" | 129 | [email protected] "\'b" |
130 | [email protected] " " | 130 | [email protected] " " |
@@ -136,12 +136,12 @@ [email protected] | |||
136 | [email protected] ")" | 136 | [email protected] ")" |
137 | [email protected] ";" | 137 | [email protected] ";" |
138 | [email protected] "\n" | 138 | [email protected] "\n" |
139 | FN_DEF@150..238 | 139 | [email protected] |
140 | [email protected] "fn" | 140 | [email protected] "fn" |
141 | [email protected] " " | 141 | [email protected] " " |
142 | [email protected] | 142 | [email protected] |
143 | [email protected] "for_for_for" | 143 | [email protected] "for_for_for" |
144 | TYP[email protected] | 144 | GENERIC[email protected] |
145 | [email protected] "<" | 145 | [email protected] "<" |
146 | [email protected] | 146 | [email protected] |
147 | [email protected] | 147 | [email protected] |
@@ -156,7 +156,7 @@ [email protected] | |||
156 | [email protected] "\n " | 156 | [email protected] "\n " |
157 | [email protected] | 157 | [email protected] |
158 | [email protected] "for" | 158 | [email protected] "for" |
159 | TYP[email protected] | 159 | GENERIC[email protected] |
160 | [email protected] "<" | 160 | [email protected] "<" |
161 | [email protected] | 161 | [email protected] |
162 | [email protected] "\'a" | 162 | [email protected] "\'a" |
@@ -164,7 +164,7 @@ [email protected] | |||
164 | [email protected] " " | 164 | [email protected] " " |
165 | [email protected] | 165 | [email protected] |
166 | [email protected] "for" | 166 | [email protected] "for" |
167 | TYP[email protected] | 167 | GENERIC[email protected] |
168 | [email protected] "<" | 168 | [email protected] "<" |
169 | [email protected] | 169 | [email protected] |
170 | [email protected] "\'b" | 170 | [email protected] "\'b" |
@@ -172,18 +172,18 @@ [email protected] | |||
172 | [email protected] " " | 172 | [email protected] " " |
173 | [email protected] | 173 | [email protected] |
174 | [email protected] "for" | 174 | [email protected] "for" |
175 | TYP[email protected] | 175 | GENERIC[email protected] |
176 | [email protected] "<" | 176 | [email protected] "<" |
177 | [email protected] | 177 | [email protected] |
178 | [email protected] "\'c" | 178 | [email protected] "\'c" |
179 | [email protected] ">" | 179 | [email protected] ">" |
180 | [email protected] " " | 180 | [email protected] " " |
181 | FN_POINTE[email protected] | 181 | [email protected] |
182 | [email protected] "fn" | 182 | [email protected] "fn" |
183 | [email protected] | 183 | [email protected] |
184 | [email protected] "(" | 184 | [email protected] "(" |
185 | [email protected] | 185 | [email protected] |
186 | REFERENCE[email protected] | 186 | [email protected] |
187 | [email protected] "&" | 187 | [email protected] "&" |
188 | [email protected] "\'a" | 188 | [email protected] "\'a" |
189 | [email protected] " " | 189 | [email protected] " " |
@@ -195,7 +195,7 @@ [email protected] | |||
195 | [email protected] "," | 195 | [email protected] "," |
196 | [email protected] " " | 196 | [email protected] " " |
197 | [email protected] | 197 | [email protected] |
198 | REFERENCE[email protected] | 198 | [email protected] |
199 | [email protected] "&" | 199 | [email protected] "&" |
200 | [email protected] "\'b" | 200 | [email protected] "\'b" |
201 | [email protected] " " | 201 | [email protected] " " |
@@ -207,7 +207,7 @@ [email protected] | |||
207 | [email protected] "," | 207 | [email protected] "," |
208 | [email protected] " " | 208 | [email protected] " " |
209 | [email protected] | 209 | [email protected] |
210 | REFERENCE[email protected] | 210 | [email protected] |
211 | [email protected] "&" | 211 | [email protected] "&" |
212 | [email protected] "\'c" | 212 | [email protected] "\'c" |
213 | [email protected] " " | 213 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rast b/crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rast index e46456384..df29017e7 100644 --- a/crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rast +++ b/crates/ra_syntax/test_data/parser/err/0163_weird_blocks.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..82 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rast b/crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rast index f1e78f388..93c429e12 100644 --- a/crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rast +++ b/crates/ra_syntax/test_data/parser/fragments/item/ok/0000_fn.rast | |||
@@ -1,4 +1,4 @@ | |||
1 | FN_DEF@0..11 | 1 | [email protected] |
2 | [email protected] "fn" | 2 | [email protected] "fn" |
3 | [email protected] " " | 3 | [email protected] " " |
4 | [email protected] | 4 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast b/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast index 15eb7f9c6..dcf102339 100644 --- a/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast +++ b/crates/ra_syntax/test_data/parser/fragments/pattern/ok/0000_enum.rast | |||
@@ -4,7 +4,7 @@ [email protected] | |||
4 | [email protected] | 4 | [email protected] |
5 | [email protected] "Some" | 5 | [email protected] "Some" |
6 | [email protected] "(" | 6 | [email protected] "(" |
7 | BIN[email protected] | 7 | IDENT[email protected] |
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "x" | 9 | [email protected] "x" |
10 | [email protected] ")" | 10 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rast b/crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rast index 8831cfa6c..38c15b581 100644 --- a/crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rast +++ b/crates/ra_syntax/test_data/parser/fragments/type/ok/0000_result.rast | |||
@@ -3,7 +3,7 @@ [email protected] | |||
3 | [email protected] | 3 | [email protected] |
4 | [email protected] | 4 | [email protected] |
5 | [email protected] "Result" | 5 | [email protected] "Result" |
6 | TYP[email protected] | 6 | GENERIC[email protected] |
7 | [email protected] "<" | 7 | [email protected] "<" |
8 | [email protected] | 8 | [email protected] |
9 | [email protected] | 9 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs b/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs index 0e6e0ccc3..f1d0dc343 100644 --- a/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs +++ b/crates/ra_syntax/test_data/parser/fuzz-failures/0000.rs | |||
@@ -86,7 +86,7 @@ fn find_reparsable_node(node: SyntaxNodeRef, range: TextRange) -> Option<(Syntax | |||
86 | fn reparser(node: SyntaxNodeRef) -> Option<fn(&mut Parser)> { | 86 | fn reparser(node: SyntaxNodeRef) -> Option<fn(&mut Parser)> { |
87 | let res = match node.kind() { | 87 | let res = match node.kind() { |
88 | BLOCK => grammar::block, | 88 | BLOCK => grammar::block, |
89 | RECORD_FIELD_DEF_LIST => grammar::record_field_def_list, | 89 | RECORD_FIELD_LIST => grammar::record_field_list, |
90 | _ => return None, | 90 | _ => return None, |
91 | }; | 91 | }; |
92 | Some(res) | 92 | Some(res) |
@@ -138,7 +138,7 @@ fn find_reparsable_node(node: SyntaxNodeRef, range: TextRange) -> Option<(Syntax | |||
138 | let res = match node.kind() { | 138 | let res = match node.kind() { |
139 | ; | 139 | ; |
140 | let end = u32::from(range.end()) as usize; | 140 | let end = u32::from(range.end()) as usize; |
141 | text.replaT => grammar::record_field_def_list, | 141 | text.replaT => grammar::record_field_list, |
142 | _ => return None, | 142 | _ => return None, |
143 | }; | 143 | }; |
144 | Some(res) | 144 | Some(res) |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast b/crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast index bf70ebca4..0b9bbec07 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0001_array_type_missing_semi.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast index 75668c818..a4271fc87 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0002_misplaced_label_err.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..29 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] "\'loop" | 17 | [email protected] "\'loop" |
18 | [email protected] ":" | 18 | [email protected] ":" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | IMPL_DEF@23..27 | 20 | [email protected] |
21 | [email protected] "impl" | 21 | [email protected] "impl" |
22 | [email protected] "\n" | 22 | [email protected] "\n" |
23 | [email protected] "}" | 23 | [email protected] "}" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast b/crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast index 95bcc3c0a..0d8bf6dd6 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0003_pointer_type_no_mutability.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..13 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "*" | 11 | [email protected] "*" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rast b/crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rast index fd939be8d..29d6b3974 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0004_impl_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,11 +8,11 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "Type" | 9 | [email protected] "Type" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | IMPL_DEF@13..33 | 15 | [email protected] |
16 | [email protected] "impl" | 16 | [email protected] "impl" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -29,14 +29,14 @@ [email protected] | |||
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "T" | 30 | [email protected] "T" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | ASSOC_[email protected] |
33 | [email protected] "{" | 33 | [email protected] "{" |
34 | [email protected] "}" | 34 | [email protected] "}" |
35 | [email protected] "\n" | 35 | [email protected] "\n" |
36 | IMPL_DEF@34..38 | 36 | [email protected] |
37 | [email protected] "impl" | 37 | [email protected] "impl" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | IMPL_DEF@39..54 | 39 | [email protected] |
40 | [email protected] "impl" | 40 | [email protected] "impl" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] | 42 | [email protected] |
@@ -45,11 +45,11 @@ [email protected] | |||
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "NotType" | 46 | [email protected] "NotType" |
47 | [email protected] " " | 47 | [email protected] " " |
48 | [email protected] | 48 | ASSOC_[email protected] |
49 | [email protected] "{" | 49 | [email protected] "{" |
50 | [email protected] "}" | 50 | [email protected] "}" |
51 | [email protected] "\n" | 51 | [email protected] "\n" |
52 | IMPL_DEF@55..70 | 52 | [email protected] |
53 | [email protected] "impl" | 53 | [email protected] "impl" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] | 55 | [email protected] |
@@ -60,7 +60,7 @@ [email protected] | |||
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] "for" | 61 | [email protected] "for" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | IMPL_DEF@71..86 | 63 | [email protected] |
64 | [email protected] "impl" | 64 | [email protected] "impl" |
65 | [email protected] " " | 65 | [email protected] " " |
66 | [email protected] | 66 | [email protected] |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "NotType" | 70 | [email protected] "NotType" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | [email protected] | 72 | ASSOC_[email protected] |
73 | [email protected] "{" | 73 | [email protected] "{" |
74 | [email protected] "}" | 74 | [email protected] "}" |
75 | [email protected] "\n" | 75 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast b/crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast index 90202d764..776022fd9 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0005_fn_pointer_type_missing_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..15 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast b/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast index c789e8d82..cc0f8bcaf 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0006_unsafe_block_in_mod.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..10 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "}" | 20 | [email protected] "}" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | FN_DEF@22..32 | 22 | [email protected] |
23 | [email protected] "fn" | 23 | [email protected] "fn" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] | 25 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast index cd24313d4..2c9570678 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0007_async_without_semicolon.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..29 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast b/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast index c5fa7a404..63a10127d 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0008_pub_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast b/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast index 4e3fa704e..8fd8d5e59 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0009_attr_on_expr_not_allowed.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..47 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast index e1abc5633..fa14e1e6d 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_bad_tuple_index_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..46 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast index 53f7ebaf9..a6e6552a9 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0010_wrong_order_fns.rast | |||
@@ -2,7 +2,7 @@ [email protected] | |||
2 | [email protected] | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | FN_DEF@7..24 | 5 | [email protected] |
6 | [email protected] "async" | 6 | [email protected] "async" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "fn" | 8 | [email protected] "fn" |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] "{" | 17 | [email protected] "{" |
18 | [email protected] "}" | 18 | [email protected] "}" |
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | CONST_DEF@25..46 | 20 | [email protected] |
21 | [email protected] "unsafe" | 21 | [email protected] "unsafe" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] "const" | 23 | [email protected] "const" |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast index ebcc26e0d..8d761b907 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0013_static_underscore.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STATIC_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "static" | 3 | [email protected] "static" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast b/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast index b8cd0587d..acd72094b 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0014_default_fn_type.rast | |||
@@ -1,11 +1,11 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..61 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "T" | 6 | [email protected] "T" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | ASSOC_[email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | [email protected] | 11 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "default" | 15 | [email protected] "default" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | TYPE_ALIAS_DEF@22..35 | 17 | [email protected] |
18 | [email protected] "type" | 18 | [email protected] "type" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] | 35 | [email protected] |
36 | [email protected] "default" | 36 | [email protected] "default" |
37 | [email protected] " " | 37 | [email protected] " " |
38 | FN_DEF@48..59 | 38 | [email protected] |
39 | [email protected] "fn" | 39 | [email protected] "fn" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast b/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast index a9de44b57..a81c442c0 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0014_record_literal_before_ellipsis_recovery.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..44 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,16 +11,16 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | RECORD_LIT@16..42 | 14 | RECORD_EXPR@16..42 |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "S" | 18 | [email protected] "S" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | RECORD_EXPR_[email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | RECORD_EXPR_[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "field" | 25 | [email protected] "field" |
26 | [email protected] " " | 26 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast b/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast index da8505607..2f59d0606 100644 --- a/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast +++ b/crates/ra_syntax/test_data/parser/inline/err/0015_empty_segment.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..12 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast index a38b4f573..c7289e400 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..82 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "F" | 9 | [email protected] "F" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | TYPE_ALIAS_DEF@13..27 | 14 | [email protected] |
15 | [email protected] "type" | 15 | [email protected] "type" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -27,7 +27,7 @@ [email protected] | |||
27 | [email protected] "Clone" | 27 | [email protected] "Clone" |
28 | [email protected] ";" | 28 | [email protected] ";" |
29 | [email protected] "\n " | 29 | [email protected] "\n " |
30 | CONST_DEF@32..45 | 30 | [email protected] |
31 | [email protected] "const" | 31 | [email protected] "const" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "i32" | 41 | [email protected] "i32" |
42 | [email protected] ";" | 42 | [email protected] ";" |
43 | [email protected] "\n " | 43 | [email protected] "\n " |
44 | FN_DEF@50..61 | 44 | [email protected] |
45 | [email protected] "fn" | 45 | [email protected] "fn" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
@@ -54,7 +54,7 @@ [email protected] | |||
54 | [email protected] "{" | 54 | [email protected] "{" |
55 | [email protected] "}" | 55 | [email protected] "}" |
56 | [email protected] "\n " | 56 | [email protected] "\n " |
57 | FN_DEF@66..80 | 57 | [email protected] |
58 | [email protected] "fn" | 58 | [email protected] "fn" |
59 | [email protected] " " | 59 | [email protected] " " |
60 | [email protected] | 60 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast index cf3a90400..1e80dd7e2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0002_use_tree_list.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..58 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -51,7 +51,7 @@ [email protected] | |||
51 | [email protected] " " | 51 | [email protected] " " |
52 | [email protected] "// Rust 2018 (with a ..." | 52 | [email protected] "// Rust 2018 (with a ..." |
53 | [email protected] "\n" | 53 | [email protected] "\n" |
54 | USE_ITEM@98..121 | 54 | [email protected] |
55 | [email protected] "use" | 55 | [email protected] "use" |
56 | [email protected] " " | 56 | [email protected] " " |
57 | [email protected] | 57 | [email protected] |
@@ -77,7 +77,7 @@ [email protected] | |||
77 | [email protected] " " | 77 | [email protected] " " |
78 | [email protected] "// Rust 2015" | 78 | [email protected] "// Rust 2015" |
79 | [email protected] "\n" | 79 | [email protected] "\n" |
80 | USE_ITEM@135..166 | 80 | [email protected] |
81 | [email protected] "use" | 81 | [email protected] "use" |
82 | [email protected] " " | 82 | [email protected] " " |
83 | [email protected] | 83 | [email protected] |
@@ -104,7 +104,7 @@ [email protected] | |||
104 | [email protected] " " | 104 | [email protected] " " |
105 | [email protected] "// Rust 2015" | 105 | [email protected] "// Rust 2015" |
106 | [email protected] "\n" | 106 | [email protected] "\n" |
107 | USE_ITEM@180..205 | 107 | [email protected] |
108 | [email protected] "use" | 108 | [email protected] "use" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | [email protected] | 110 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast index cd0892451..62da7b887 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..53 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "for_trait" | 6 | [email protected] "for_trait" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] "\n " | 19 | [email protected] "\n " |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "for" | 21 | [email protected] "for" |
22 | TYP[email protected] | 22 | GENERIC[email protected] |
23 | [email protected] "<" | 23 | [email protected] "<" |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "\'a" | 25 | [email protected] "\'a" |
@@ -42,7 +42,7 @@ [email protected] | |||
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "(" | 43 | [email protected] "(" |
44 | [email protected] | 44 | [email protected] |
45 | REFERENCE[email protected] | 45 | [email protected] |
46 | [email protected] "&" | 46 | [email protected] "&" |
47 | [email protected] "\'a" | 47 | [email protected] "\'a" |
48 | [email protected] " " | 48 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast index 20eba09f5..b650735ba 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0004_value_parameters_no_patterns.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..38 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] "Box" | 14 | [email protected] "Box" |
15 | TYP[email protected] | 15 | GENERIC[email protected] |
16 | [email protected] "<" | 16 | [email protected] "<" |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
@@ -31,7 +31,7 @@ [email protected] | |||
31 | [email protected] "," | 31 | [email protected] "," |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
34 | REFERENCE[email protected] | 34 | [email protected] |
35 | [email protected] "&" | 35 | [email protected] "&" |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "," | 41 | [email protected] "," |
42 | [email protected] " " | 42 | [email protected] " " |
43 | [email protected] | 43 | [email protected] |
44 | REFERENCE[email protected] | 44 | [email protected] |
45 | [email protected] "&" | 45 | [email protected] "&" |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast index 6c8c1e24b..8e0252ce7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0005_function_type_params.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..27 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "foo" | 6 | [email protected] "foo" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast index 9f4a9e69b..d24ad7423 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..127 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "S" | 9 | [email protected] "S" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@13..26 | 14 | [email protected] |
15 | [email protected] "fn" | 15 | [email protected] "fn" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] "{" | 26 | [email protected] "{" |
27 | [email protected] "}" | 27 | [email protected] "}" |
28 | [email protected] "\n " | 28 | [email protected] "\n " |
29 | FN_DEF@31..46 | 29 | [email protected] |
30 | [email protected] "fn" | 30 | [email protected] "fn" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] "{" | 43 | [email protected] "{" |
44 | [email protected] "}" | 44 | [email protected] "}" |
45 | [email protected] "\n " | 45 | [email protected] "\n " |
46 | FN_DEF@51..69 | 46 | [email protected] |
47 | [email protected] "fn" | 47 | [email protected] "fn" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | [email protected] | 49 | [email protected] |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] "{" | 62 | [email protected] "{" |
63 | [email protected] "}" | 63 | [email protected] "}" |
64 | [email protected] "\n " | 64 | [email protected] "\n " |
65 | FN_DEF@74..103 | 65 | [email protected] |
66 | [email protected] "fn" | 66 | [email protected] "fn" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
@@ -79,7 +79,7 @@ [email protected] | |||
79 | [email protected] "," | 79 | [email protected] "," |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] | 81 | [email protected] |
82 | BIN[email protected] | 82 | IDENT[email protected] |
83 | [email protected] | 83 | [email protected] |
84 | [email protected] "x" | 84 | [email protected] "x" |
85 | [email protected] ":" | 85 | [email protected] ":" |
@@ -95,7 +95,7 @@ [email protected] | |||
95 | [email protected] "{" | 95 | [email protected] "{" |
96 | [email protected] "}" | 96 | [email protected] "}" |
97 | [email protected] "\n " | 97 | [email protected] "\n " |
98 | FN_DEF@108..125 | 98 | [email protected] |
99 | [email protected] "fn" | 99 | [email protected] "fn" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | [email protected] | 101 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast index 7cb9e1d55..e95688f56 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0007_type_param_bounds.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast index 10eb31d68..7d2f7eab0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0008_path_part.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..102 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -58,7 +58,7 @@ [email protected] | |||
58 | [email protected] | 58 | [email protected] |
59 | [email protected] "Bar" | 59 | [email protected] "Bar" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | RECORD_FIELD_PAT_[email protected] | 61 | RECORD_PAT_[email protected] |
62 | [email protected] "{" | 62 | [email protected] "{" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | [email protected] ".." | 64 | [email protected] ".." |
@@ -81,7 +81,7 @@ [email protected] | |||
81 | [email protected] | 81 | [email protected] |
82 | [email protected] "Bar" | 82 | [email protected] "Bar" |
83 | [email protected] "(" | 83 | [email protected] "(" |
84 | DOT_DOT_[email protected] | 84 | RES[email protected] |
85 | [email protected] ".." | 85 | [email protected] ".." |
86 | [email protected] ")" | 86 | [email protected] ")" |
87 | [email protected] " " | 87 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast index 425e5196c..f62826fd5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0009_loop_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast index d823c08fc..66a609346 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0011_field_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..47 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast b/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast index 283442a8b..28c94bfd6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0012_type_item_where_clause.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..30 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast b/crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast index e2e871dda..d33215b50 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0013_pointer_type_mut.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "*" | 11 | [email protected] "*" |
12 | [email protected] "mut" | 12 | [email protected] "mut" |
13 | [email protected] " " | 13 | [email protected] " " |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] ")" | 16 | [email protected] ")" |
17 | [email protected] ";" | 17 | [email protected] ";" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | TYPE_ALIAS_DEF@18..35 | 19 | [email protected] |
20 | [email protected] "type" | 20 | [email protected] "type" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
@@ -24,7 +24,7 @@ [email protected] | |||
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] "=" | 25 | [email protected] "=" |
26 | [email protected] " " | 26 | [email protected] " " |
27 | POINTE[email protected] | 27 | [email protected] |
28 | [email protected] "*" | 28 | [email protected] "*" |
29 | [email protected] "mut" | 29 | [email protected] "mut" |
30 | [email protected] " " | 30 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast index a60940fcf..b1d5106ce 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..15 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast index 422912e3c..104e153ce 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0015_continue_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..68 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast index d59c6006d..625ab4c2d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "trait" | 5 | [email protected] "trait" |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "T" | 8 | [email protected] "T" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | [email protected] | 10 | ASSOC_[email protected] |
11 | [email protected] "{" | 11 | [email protected] "{" |
12 | [email protected] "}" | 12 | [email protected] "}" |
13 | [email protected] "\n" | 13 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast index 61a0b22f4..c131df1c9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast index 15da6fdd6..ddbd66588 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..68 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "S" | 9 | [email protected] "S" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@13..33 | 14 | [email protected] |
15 | [email protected] "fn" | 15 | [email protected] "fn" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] "self" | 22 | [email protected] "self" |
23 | [email protected] ":" | 23 | [email protected] ":" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | REFERENCE[email protected] | 25 | [email protected] |
26 | [email protected] "&" | 26 | [email protected] "&" |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] "{" | 35 | [email protected] "{" |
36 | [email protected] "}" | 36 | [email protected] "}" |
37 | [email protected] "\n " | 37 | [email protected] "\n " |
38 | FN_DEF@38..66 | 38 | [email protected] |
39 | [email protected] "fn" | 39 | [email protected] "fn" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
@@ -53,7 +53,7 @@ [email protected] | |||
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "Box" | 55 | [email protected] "Box" |
56 | TYP[email protected] | 56 | GENERIC[email protected] |
57 | [email protected] "<" | 57 | [email protected] "<" |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast index 10d6b2fde..7db38ea4d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0019_unary_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..43 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast index 9e898b7b9..b3623c445 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0020_use_star.rast | |||
@@ -1,12 +1,12 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..6 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "*" | 6 | [email protected] "*" |
7 | [email protected] ";" | 7 | [email protected] ";" |
8 | [email protected] "\n" | 8 | [email protected] "\n" |
9 | USE_ITEM@7..15 | 9 | [email protected] |
10 | [email protected] "use" | 10 | [email protected] "use" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] "*" | 14 | [email protected] "*" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | USE_ITEM@16..36 | 17 | [email protected] |
18 | [email protected] "use" | 18 | [email protected] "use" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] "}" | 35 | [email protected] "}" |
36 | [email protected] ";" | 36 | [email protected] ";" |
37 | [email protected] "\n" | 37 | [email protected] "\n" |
38 | USE_ITEM@37..59 | 38 | [email protected] |
39 | [email protected] "use" | 39 | [email protected] "use" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast index c204aeb63..ca0702aba 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..88 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "F" | 9 | [email protected] "F" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | TYPE_ALIAS_DEF@13..26 | 14 | [email protected] |
15 | [email protected] "type" | 15 | [email protected] "type" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] "i32" | 26 | [email protected] "i32" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] "\n " | 28 | [email protected] "\n " |
29 | CONST_DEF@31..49 | 29 | [email protected] |
30 | [email protected] "const" | 30 | [email protected] "const" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
@@ -45,7 +45,7 @@ [email protected] | |||
45 | [email protected] "92" | 45 | [email protected] "92" |
46 | [email protected] ";" | 46 | [email protected] ";" |
47 | [email protected] "\n " | 47 | [email protected] "\n " |
48 | FN_DEF@54..65 | 48 | [email protected] |
49 | [email protected] "fn" | 49 | [email protected] "fn" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | [email protected] |
@@ -58,7 +58,7 @@ [email protected] | |||
58 | [email protected] "{" | 58 | [email protected] "{" |
59 | [email protected] "}" | 59 | [email protected] "}" |
60 | [email protected] "\n " | 60 | [email protected] "\n " |
61 | FN_DEF@70..86 | 61 | [email protected] |
62 | [email protected] "fn" | 62 | [email protected] "fn" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | [email protected] | 64 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rast b/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rast index 1b810607e..50742cbcf 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0022_crate_visibility.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..20 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "pub" | 4 | [email protected] "pub" |
5 | [email protected] "(" | 5 | [email protected] "(" |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "S" | 12 | [email protected] "S" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | STRUCT_DEF@21..40 | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "pub" | 17 | [email protected] "pub" |
18 | [email protected] "(" | 18 | [email protected] "(" |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] "S" | 25 | [email protected] "S" |
26 | [email protected] ";" | 26 | [email protected] ";" |
27 | [email protected] "\n" | 27 | [email protected] "\n" |
28 | STRUCT_DEF@41..60 | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "pub" | 30 | [email protected] "pub" |
31 | [email protected] "(" | 31 | [email protected] "(" |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] "S" | 38 | [email protected] "S" |
39 | [email protected] ";" | 39 | [email protected] ";" |
40 | [email protected] "\n" | 40 | [email protected] "\n" |
41 | STRUCT_DEF@61..80 | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "pub" | 43 | [email protected] "pub" |
44 | [email protected] "(" | 44 | [email protected] "(" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rast index 17687617b..e4fe2b948 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0023_placeholder_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..21 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | PLACEHOLDE[email protected] | 10 | INF[email protected] |
11 | [email protected] "_" | 11 | [email protected] "_" |
12 | [email protected] ";" | 12 | [email protected] ";" |
13 | [email protected] "\n" | 13 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast index 7eb27d5e1..2dbce34b6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0024_slice_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..38 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,17 +16,17 @@ [email protected] | |||
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "[" | 18 | [email protected] "[" |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "a" | 21 | [email protected] "a" |
22 | [email protected] "," | 22 | [email protected] "," |
23 | [email protected] " " | 23 | [email protected] " " |
24 | BIN[email protected] | 24 | IDENT[email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "b" | 26 | [email protected] "b" |
27 | [email protected] "," | 27 | [email protected] "," |
28 | [email protected] " " | 28 | [email protected] " " |
29 | DOT_DOT_[email protected] | 29 | RES[email protected] |
30 | [email protected] ".." | 30 | [email protected] ".." |
31 | [email protected] "]" | 31 | [email protected] "]" |
32 | [email protected] " " | 32 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast index 0a6d77f45..fd819ea37 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..14 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast index b4598768e..467a30134 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0026_tuple_pat_fields.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..96 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "S" | 39 | [email protected] "S" |
40 | [email protected] "(" | 40 | [email protected] "(" |
41 | PLACEHOLDE[email protected] | 41 | WILDCARD[email protected] |
42 | [email protected] "_" | 42 | [email protected] "_" |
43 | [email protected] ")" | 43 | [email protected] ")" |
44 | [email protected] " " | 44 | [email protected] " " |
@@ -58,7 +58,7 @@ [email protected] | |||
58 | [email protected] | 58 | [email protected] |
59 | [email protected] "S" | 59 | [email protected] "S" |
60 | [email protected] "(" | 60 | [email protected] "(" |
61 | PLACEHOLDE[email protected] | 61 | WILDCARD[email protected] |
62 | [email protected] "_" | 62 | [email protected] "_" |
63 | [email protected] "," | 63 | [email protected] "," |
64 | [email protected] ")" | 64 | [email protected] ")" |
@@ -79,16 +79,16 @@ [email protected] | |||
79 | [email protected] | 79 | [email protected] |
80 | [email protected] "S" | 80 | [email protected] "S" |
81 | [email protected] "(" | 81 | [email protected] "(" |
82 | PLACEHOLDE[email protected] | 82 | WILDCARD[email protected] |
83 | [email protected] "_" | 83 | [email protected] "_" |
84 | [email protected] "," | 84 | [email protected] "," |
85 | [email protected] " " | 85 | [email protected] " " |
86 | DOT_DOT_[email protected] | 86 | RES[email protected] |
87 | [email protected] ".." | 87 | [email protected] ".." |
88 | [email protected] " " | 88 | [email protected] " " |
89 | [email protected] "," | 89 | [email protected] "," |
90 | [email protected] " " | 90 | [email protected] " " |
91 | BIN[email protected] | 91 | IDENT[email protected] |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] "x" | 93 | [email protected] "x" |
94 | [email protected] ")" | 94 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast index b824c10a8..348b54dc9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0027_ref_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..51 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "&" | 18 | [email protected] "&" |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "a" | 21 | [email protected] "a" |
22 | [email protected] " " | 22 | [email protected] " " |
@@ -34,7 +34,7 @@ [email protected] | |||
34 | [email protected] "&" | 34 | [email protected] "&" |
35 | [email protected] "mut" | 35 | [email protected] "mut" |
36 | [email protected] " " | 36 | [email protected] " " |
37 | BIN[email protected] | 37 | IDENT[email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "b" | 39 | [email protected] "b" |
40 | [email protected] " " | 40 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast index 93f5c738c..32b2959bd 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0028_impl_trait_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..42 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "Iterator" | 19 | [email protected] "Iterator" |
20 | TYP[email protected] | 20 | GENERIC[email protected] |
21 | [email protected] "<" | 21 | [email protected] "<" |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
@@ -28,7 +28,7 @@ [email protected] | |||
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "Foo" | 30 | [email protected] "Foo" |
31 | TYP[email protected] | 31 | GENERIC[email protected] |
32 | [email protected] "<" | 32 | [email protected] "<" |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "\'a" | 34 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast index fabb09937..e096b3a1f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0029_cast_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..88 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast b/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast index 3aed26732..58a97d3ad 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0030_cond.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..37 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "Some" | 24 | [email protected] "Some" |
25 | [email protected] "(" | 25 | [email protected] "(" |
26 | PLACEHOLDE[email protected] | 26 | WILDCARD[email protected] |
27 | [email protected] "_" | 27 | [email protected] "_" |
28 | [email protected] ")" | 28 | [email protected] ")" |
29 | [email protected] " " | 29 | [email protected] " " |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] "}" | 42 | [email protected] "}" |
43 | [email protected] "\n" | 43 | [email protected] "\n" |
44 | FN_DEF@38..196 | 44 | [email protected] |
45 | [email protected] "fn" | 45 | [email protected] "fn" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
@@ -67,7 +67,7 @@ [email protected] | |||
67 | [email protected] | 67 | [email protected] |
68 | [email protected] "Some" | 68 | [email protected] "Some" |
69 | [email protected] "(" | 69 | [email protected] "(" |
70 | PLACEHOLDE[email protected] | 70 | WILDCARD[email protected] |
71 | [email protected] "_" | 71 | [email protected] "_" |
72 | [email protected] ")" | 72 | [email protected] ")" |
73 | [email protected] " " | 73 | [email protected] " " |
@@ -79,7 +79,7 @@ [email protected] | |||
79 | [email protected] | 79 | [email protected] |
80 | [email protected] "Some" | 80 | [email protected] "Some" |
81 | [email protected] "(" | 81 | [email protected] "(" |
82 | PLACEHOLDE[email protected] | 82 | WILDCARD[email protected] |
83 | [email protected] "_" | 83 | [email protected] "_" |
84 | [email protected] ")" | 84 | [email protected] ")" |
85 | [email protected] " " | 85 | [email protected] " " |
@@ -110,7 +110,7 @@ [email protected] | |||
110 | [email protected] | 110 | [email protected] |
111 | [email protected] "Some" | 111 | [email protected] "Some" |
112 | [email protected] "(" | 112 | [email protected] "(" |
113 | PLACEHOLDE[email protected] | 113 | WILDCARD[email protected] |
114 | [email protected] "_" | 114 | [email protected] "_" |
115 | [email protected] ")" | 115 | [email protected] ")" |
116 | [email protected] " " | 116 | [email protected] " " |
@@ -140,7 +140,7 @@ [email protected] | |||
140 | [email protected] | 140 | [email protected] |
141 | [email protected] "Some" | 141 | [email protected] "Some" |
142 | [email protected] "(" | 142 | [email protected] "(" |
143 | PLACEHOLDE[email protected] | 143 | WILDCARD[email protected] |
144 | [email protected] "_" | 144 | [email protected] "_" |
145 | [email protected] ")" | 145 | [email protected] ")" |
146 | [email protected] " " | 146 | [email protected] " " |
@@ -152,7 +152,7 @@ [email protected] | |||
152 | [email protected] | 152 | [email protected] |
153 | [email protected] "Some" | 153 | [email protected] "Some" |
154 | [email protected] "(" | 154 | [email protected] "(" |
155 | PLACEHOLDE[email protected] | 155 | WILDCARD[email protected] |
156 | [email protected] "_" | 156 | [email protected] "_" |
157 | [email protected] ")" | 157 | [email protected] ")" |
158 | [email protected] " " | 158 | [email protected] " " |
@@ -182,7 +182,7 @@ [email protected] | |||
182 | [email protected] | 182 | [email protected] |
183 | [email protected] "Some" | 183 | [email protected] "Some" |
184 | [email protected] "(" | 184 | [email protected] "(" |
185 | PLACEHOLDE[email protected] | 185 | WILDCARD[email protected] |
186 | [email protected] "_" | 186 | [email protected] "_" |
187 | [email protected] ")" | 187 | [email protected] ")" |
188 | [email protected] " " | 188 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast index 899b63aac..173cecf6d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0031_while_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..92 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -37,7 +37,7 @@ [email protected] | |||
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "Some" | 38 | [email protected] "Some" |
39 | [email protected] "(" | 39 | [email protected] "(" |
40 | BIN[email protected] | 40 | IDENT[email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "x" | 42 | [email protected] "x" |
43 | [email protected] ")" | 43 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast index 72705e148..dda6577ed 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0032_fn_pointer_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..14 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,14 +7,14 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | FN_POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "fn" | 11 | [email protected] "fn" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
14 | [email protected] ")" | 14 | [email protected] ")" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | TYPE_ALIAS_DEF@15..36 | 17 | [email protected] |
18 | [email protected] "type" | 18 | [email protected] "type" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] "=" | 23 | [email protected] "=" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | FN_POINTE[email protected] | 25 | [email protected] |
26 | [email protected] "unsafe" | 26 | [email protected] "unsafe" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] "fn" | 28 | [email protected] "fn" |
@@ -31,7 +31,7 @@ [email protected] | |||
31 | [email protected] ")" | 31 | [email protected] ")" |
32 | [email protected] ";" | 32 | [email protected] ";" |
33 | [email protected] "\n" | 33 | [email protected] "\n" |
34 | TYPE_ALIAS_DEF@37..69 | 34 | [email protected] |
35 | [email protected] "type" | 35 | [email protected] "type" |
36 | [email protected] " " | 36 | [email protected] " " |
37 | [email protected] | 37 | [email protected] |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] "=" | 40 | [email protected] "=" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | FN_POINTE[email protected] | 42 | [email protected] |
43 | [email protected] "unsafe" | 43 | [email protected] "unsafe" |
44 | [email protected] " " | 44 | [email protected] " " |
45 | [email protected] | 45 | [email protected] |
@@ -53,7 +53,7 @@ [email protected] | |||
53 | [email protected] ")" | 53 | [email protected] ")" |
54 | [email protected] ";" | 54 | [email protected] ";" |
55 | [email protected] "\n" | 55 | [email protected] "\n" |
56 | TYPE_ALIAS_DEF@70..112 | 56 | [email protected] |
57 | [email protected] "type" | 57 | [email protected] "type" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | [email protected] | 59 | [email protected] |
@@ -61,7 +61,7 @@ [email protected] | |||
61 | [email protected] " " | 61 | [email protected] " " |
62 | [email protected] "=" | 62 | [email protected] "=" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | FN_POINTE[email protected] | 64 | [email protected] |
65 | [email protected] | 65 | [email protected] |
66 | [email protected] "extern" | 66 | [email protected] "extern" |
67 | [email protected] " " | 67 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast b/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast index 784fbb592..974df9f9a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0033_reference_type;.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..13 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,14 +7,14 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | REFERENCE[email protected] | 10 | [email protected] |
11 | [email protected] "&" | 11 | [email protected] "&" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
14 | [email protected] ")" | 14 | [email protected] ")" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | TYPE_ALIAS_DEF@14..35 | 17 | [email protected] |
18 | [email protected] "type" | 18 | [email protected] "type" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] "=" | 23 | [email protected] "=" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | REFERENCE[email protected] | 25 | [email protected] |
26 | [email protected] "&" | 26 | [email protected] "&" |
27 | [email protected] "\'static" | 27 | [email protected] "\'static" |
28 | [email protected] " " | 28 | [email protected] " " |
@@ -31,7 +31,7 @@ [email protected] | |||
31 | [email protected] ")" | 31 | [email protected] ")" |
32 | [email protected] ";" | 32 | [email protected] ";" |
33 | [email protected] "\n" | 33 | [email protected] "\n" |
34 | TYPE_ALIAS_DEF@36..53 | 34 | [email protected] |
35 | [email protected] "type" | 35 | [email protected] "type" |
36 | [email protected] " " | 36 | [email protected] " " |
37 | [email protected] | 37 | [email protected] |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] "=" | 40 | [email protected] "=" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | REFERENCE[email protected] | 42 | [email protected] |
43 | [email protected] "&" | 43 | [email protected] "&" |
44 | [email protected] "mut" | 44 | [email protected] "mut" |
45 | [email protected] " " | 45 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast index e064aafaf..f905def6f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0034_break_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..101 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast index cf5825593..293b1d64c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0036_unsafe_extern_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..29 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast index fbd90bc0f..b6379e62f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -32,7 +32,7 @@ [email protected] | |||
32 | [email protected] "Output" | 32 | [email protected] "Output" |
33 | [email protected] ";" | 33 | [email protected] ";" |
34 | [email protected] "\n" | 34 | [email protected] "\n" |
35 | FN_DEF@27..70 | 35 | [email protected] |
36 | [email protected] "fn" | 36 | [email protected] "fn" |
37 | [email protected] " " | 37 | [email protected] " " |
38 | [email protected] | 38 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast index a767f145d..64e705fb3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0038_full_range_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast index e92ea2bf2..69e98b9d6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..45 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] "B" | 14 | [email protected] "B" |
15 | TYP[email protected] | 15 | GENERIC[email protected] |
16 | [email protected] "<" | 16 | [email protected] "<" |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "\'static" | 18 | [email protected] "\'static" |
@@ -27,7 +27,8 @@ [email protected] | |||
27 | [email protected] "," | 27 | [email protected] "," |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "1" | 30 | [email protected] |
31 | [email protected] "1" | ||
31 | [email protected] "," | 32 | [email protected] "," |
32 | [email protected] " " | 33 | [email protected] " " |
33 | [email protected] | 34 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast index aa582516a..db5bd2849 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0040_crate_keyword_vis.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..19 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "crate" | 4 | [email protected] "crate" |
5 | [email protected] " " | 5 | [email protected] " " |
@@ -16,16 +16,16 @@ [email protected] | |||
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | STRUCT_DEF@20..49 | 19 | [email protected] |
20 | [email protected] "struct" | 20 | [email protected] "struct" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "S" | 23 | [email protected] "S" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | RECORD_FIELD_DEF_[email protected] | 25 | [email protected] |
26 | [email protected] "{" | 26 | [email protected] "{" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | RECORD_FIELD_DEF@31..47 | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "crate" | 30 | [email protected] "crate" |
31 | [email protected] " " | 31 | [email protected] " " |
@@ -41,14 +41,14 @@ [email protected] | |||
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] "}" | 42 | [email protected] "}" |
43 | [email protected] "\n" | 43 | [email protected] "\n" |
44 | STRUCT_DEF@50..70 | 44 | [email protected] |
45 | [email protected] "struct" | 45 | [email protected] "struct" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "T" | 48 | [email protected] "T" |
49 | TUPLE_FIELD_DEF_[email protected] | 49 | [email protected] |
50 | [email protected] "(" | 50 | [email protected] "(" |
51 | TUPLE_FIELD_DEF@59..68 | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] "crate" | 53 | [email protected] "crate" |
54 | [email protected] " " | 54 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast index 1ae791361..3638462f8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..41 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "T" | 6 | [email protected] "T" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -48,16 +48,16 @@ [email protected] | |||
48 | [email protected] | 48 | [email protected] |
49 | [email protected] "Copy" | 49 | [email protected] "Copy" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | ASSOC_[email protected] |
52 | [email protected] "{" | 52 | [email protected] "{" |
53 | [email protected] "}" | 53 | [email protected] "}" |
54 | [email protected] "\n" | 54 | [email protected] "\n" |
55 | TRAIT_DEF@42..100 | 55 | [email protected] |
56 | [email protected] "trait" | 56 | [email protected] "trait" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] "X" | 59 | [email protected] "X" |
60 | TYP[email protected] | 60 | GENERIC[email protected] |
61 | [email protected] "<" | 61 | [email protected] "<" |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
@@ -119,7 +119,7 @@ [email protected] | |||
119 | [email protected] | 119 | [email protected] |
120 | [email protected] "Copy" | 120 | [email protected] "Copy" |
121 | [email protected] " " | 121 | [email protected] " " |
122 | [email protected] | 122 | ASSOC_[email protected] |
123 | [email protected] "{" | 123 | [email protected] "{" |
124 | [email protected] "}" | 124 | [email protected] "}" |
125 | [email protected] "\n" | 125 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast index 0c1c6e877..fa38e9466 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0042_call_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..117 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "let" | 34 | [email protected] "let" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | PLACEHOLDE[email protected] | 36 | WILDCARD[email protected] |
37 | [email protected] "_" | 37 | [email protected] "_" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] "=" | 39 | [email protected] "=" |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "let" | 70 | [email protected] "let" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | PLACEHOLDE[email protected] | 72 | WILDCARD[email protected] |
73 | [email protected] "_" | 73 | [email protected] "_" |
74 | [email protected] " " | 74 | [email protected] " " |
75 | [email protected] "=" | 75 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast b/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast index f0e09d40d..60b517230 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0043_use_alias.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..28 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -13,14 +13,14 @@ [email protected] | |||
13 | [email protected] | 13 | [email protected] |
14 | [email protected] "path" | 14 | [email protected] "path" |
15 | [email protected] " " | 15 | [email protected] " " |
16 | ALIAS@15..27 | 16 | RENAME@15..27 |
17 | [email protected] "as" | 17 | [email protected] "as" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "some_name" | 20 | [email protected] "some_name" |
21 | [email protected] ";" | 21 | [email protected] ";" |
22 | [email protected] "\n" | 22 | [email protected] "\n" |
23 | USE_ITEM@29..181 | 23 | [email protected] |
24 | [email protected] "use" | 24 | [email protected] "use" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | [email protected] | 26 | [email protected] |
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "path" | 44 | [email protected] "path" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | ALIAS@54..72 | 46 | RENAME@54..72 |
47 | [email protected] "as" | 47 | [email protected] "as" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | [email protected] | 49 | [email protected] |
@@ -61,7 +61,7 @@ [email protected] | |||
61 | [email protected] | 61 | [email protected] |
62 | [email protected] "path" | 62 | [email protected] "path" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | ALIAS@91..108 | 64 | RENAME@91..108 |
65 | [email protected] "as" | 65 | [email protected] "as" |
66 | [email protected] " " | 66 | [email protected] " " |
67 | [email protected] | 67 | [email protected] |
@@ -121,7 +121,7 @@ [email protected] | |||
121 | [email protected] "}" | 121 | [email protected] "}" |
122 | [email protected] ";" | 122 | [email protected] ";" |
123 | [email protected] "\n" | 123 | [email protected] "\n" |
124 | USE_ITEM@182..197 | 124 | [email protected] |
125 | [email protected] "use" | 125 | [email protected] "use" |
126 | [email protected] " " | 126 | [email protected] " " |
127 | [email protected] | 127 | [email protected] |
@@ -130,7 +130,7 @@ [email protected] | |||
130 | [email protected] | 130 | [email protected] |
131 | [email protected] "Trait" | 131 | [email protected] "Trait" |
132 | [email protected] " " | 132 | [email protected] " " |
133 | ALIAS@192..196 | 133 | RENAME@192..196 |
134 | [email protected] "as" | 134 | [email protected] "as" |
135 | [email protected] " " | 135 | [email protected] " " |
136 | [email protected] "_" | 136 | [email protected] "_" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast index c23b3b67c..1fd3cd0e7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0044_block_items.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,7 +11,7 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | FN_DEF@9..18 | 14 | [email protected] |
15 | [email protected] "fn" | 15 | [email protected] "fn" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast index 9ca2165ba..6baea6e3c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0045_param_list_opt_patterns.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "foo" | 6 | [email protected] "foo" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -21,7 +21,7 @@ [email protected] | |||
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "(" | 22 | [email protected] "(" |
23 | [email protected] | 23 | [email protected] |
24 | REFERENCE[email protected] | 24 | [email protected] |
25 | [email protected] "&" | 25 | [email protected] "&" |
26 | [email protected] "mut" | 26 | [email protected] "mut" |
27 | [email protected] " " | 27 | [email protected] " " |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] "Foo" | 32 | [email protected] "Foo" |
33 | TYP[email protected] | 33 | GENERIC[email protected] |
34 | [email protected] "<" | 34 | [email protected] "<" |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] "\'a" | 36 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast index c28dc9d61..e89284c14 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0046_singleton_tuple_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..16 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast index 52de6023b..d6dfa83b7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "default" | 5 | [email protected] "default" |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "Foo" | 13 | [email protected] "Foo" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | ASSOC_[email protected] |
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast index b209f67f8..4d8404e7c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "Box" | 18 | [email protected] "Box" |
19 | TYP[email protected] | 19 | GENERIC[email protected] |
20 | [email protected] "<" | 20 | [email protected] "<" |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] "{" | 38 | [email protected] "{" |
39 | [email protected] "}" | 39 | [email protected] "}" |
40 | [email protected] "\n" | 40 | [email protected] "\n" |
41 | FN_DEF@27..57 | 41 | [email protected] |
42 | [email protected] "fn" | 42 | [email protected] "fn" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] "Box" | 57 | [email protected] "Box" |
58 | TYP[email protected] | 58 | GENERIC[email protected] |
59 | [email protected] "<" | 59 | [email protected] "<" |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] | 61 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast index 8bf62cda9..a5bf55131 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..21 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "T" | 6 | [email protected] "T" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | ASSOC_[email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | FN_DEF@10..19 | 11 | [email protected] |
12 | [email protected] "fn" | 12 | [email protected] "fn" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast index 798ef2a48..6330dbf9e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast index 0d2f5ff56..9bc36bea7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..13 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] "Foo" | 14 | [email protected] "Foo" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | TYPE_ALIAS_DEF@14..29 | 17 | [email protected] |
18 | [email protected] "type" | 18 | [email protected] "type" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] "Foo" | 30 | [email protected] "Foo" |
31 | [email protected] ";" | 31 | [email protected] ";" |
32 | [email protected] "\n" | 32 | [email protected] "\n" |
33 | TYPE_ALIAS_DEF@30..49 | 33 | [email protected] |
34 | [email protected] "type" | 34 | [email protected] "type" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] | 36 | [email protected] |
@@ -49,7 +49,7 @@ [email protected] | |||
49 | [email protected] "Foo" | 49 | [email protected] "Foo" |
50 | [email protected] ";" | 50 | [email protected] ";" |
51 | [email protected] "\n" | 51 | [email protected] "\n" |
52 | TYPE_ALIAS_DEF@50..70 | 52 | [email protected] |
53 | [email protected] "type" | 53 | [email protected] "type" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] | 55 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast index 70232a3b2..c34cfeb31 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0053_path_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..90 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -29,7 +29,7 @@ [email protected] | |||
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "let" | 30 | [email protected] "let" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | PLACEHOLDE[email protected] | 32 | WILDCARD[email protected] |
33 | [email protected] "_" | 33 | [email protected] "_" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | [email protected] "=" | 35 | [email protected] "=" |
@@ -49,7 +49,7 @@ [email protected] | |||
49 | [email protected] | 49 | [email protected] |
50 | [email protected] "let" | 50 | [email protected] "let" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | PLACEHOLDE[email protected] | 52 | WILDCARD[email protected] |
53 | [email protected] "_" | 53 | [email protected] "_" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] "=" | 55 | [email protected] "=" |
@@ -60,7 +60,7 @@ [email protected] | |||
60 | [email protected] "::" | 60 | [email protected] "::" |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] "a" | 62 | [email protected] "a" |
63 | TYP[email protected] | 63 | GENERIC[email protected] |
64 | [email protected] "::" | 64 | [email protected] "::" |
65 | [email protected] "<" | 65 | [email protected] "<" |
66 | [email protected] | 66 | [email protected] |
@@ -75,7 +75,7 @@ [email protected] | |||
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "let" | 76 | [email protected] "let" |
77 | [email protected] " " | 77 | [email protected] " " |
78 | PLACEHOLDE[email protected] | 78 | WILDCARD[email protected] |
79 | [email protected] "_" | 79 | [email protected] "_" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] "=" | 81 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast b/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast index 6362aa02d..9ae271817 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0054_record_field_attrs.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..63 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..60 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "#" | 13 | [email protected] "#" |
14 | [email protected] "[" | 14 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast index 03c52525e..68bb43852 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0055_literal_pattern.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..112 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast b/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast index 24f89b83f..28129c50c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0056_where_clause.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..115 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast index bb43d1eaf..97548a5ee 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0057_const_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "const" | 3 | [email protected] "const" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast index 8bd94a868..3e72f9671 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0058_range_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..111 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast index 9210f155c..984829317 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0059_match_arms_commas.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..82 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] "{" | 22 | [email protected] "{" |
23 | [email protected] "\n " | 23 | [email protected] "\n " |
24 | [email protected] | 24 | [email protected] |
25 | PLACEHOLDE[email protected] | 25 | WILDCARD[email protected] |
26 | [email protected] "_" | 26 | [email protected] "_" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] "=>" | 28 | [email protected] "=>" |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] "," | 33 | [email protected] "," |
34 | [email protected] "\n " | 34 | [email protected] "\n " |
35 | [email protected] | 35 | [email protected] |
36 | PLACEHOLDE[email protected] | 36 | WILDCARD[email protected] |
37 | [email protected] "_" | 37 | [email protected] "_" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] "=>" | 39 | [email protected] "=>" |
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] "}" | 43 | [email protected] "}" |
44 | [email protected] "\n " | 44 | [email protected] "\n " |
45 | [email protected] | 45 | [email protected] |
46 | PLACEHOLDE[email protected] | 46 | WILDCARD[email protected] |
47 | [email protected] "_" | 47 | [email protected] "_" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | [email protected] "=>" | 49 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast b/crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast index d06fc0be5..25e1777d1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0060_extern_crate.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | EXTERN_CRATE_ITEM@0..17 | 2 | [email protected] |
3 | [email protected] "extern" | 3 | [email protected] "extern" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "crate" | 5 | [email protected] "crate" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast index 850465d82..a9ae1aa59 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0061_record_lit.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..111 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,28 +12,28 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | [email protected] | 14 | [email protected] |
15 | RECORD_LIT@15..19 | 15 | RECORD_EXPR@15..19 |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "S" | 19 | [email protected] "S" |
20 | [email protected] " " | 20 | [email protected] " " |
21 | [email protected] | 21 | RECORD_EXPR_[email protected] |
22 | [email protected] "{" | 22 | [email protected] "{" |
23 | [email protected] "}" | 23 | [email protected] "}" |
24 | [email protected] ";" | 24 | [email protected] ";" |
25 | [email protected] "\n " | 25 | [email protected] "\n " |
26 | [email protected] | 26 | [email protected] |
27 | RECORD_LIT@25..40 | 27 | RECORD_EXPR@25..40 |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] "S" | 31 | [email protected] "S" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | RECORD_EXPR_[email protected] |
34 | [email protected] "{" | 34 | [email protected] "{" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] | 36 | RECORD_EXPR_[email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "x" | 41 | [email protected] "x" |
42 | [email protected] "," | 42 | [email protected] "," |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | RECORD_EXPR_[email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "y" | 46 | [email protected] "y" |
47 | [email protected] ":" | 47 | [email protected] ":" |
@@ -54,16 +54,16 @@ [email protected] | |||
54 | [email protected] ";" | 54 | [email protected] ";" |
55 | [email protected] "\n " | 55 | [email protected] "\n " |
56 | [email protected] | 56 | [email protected] |
57 | RECORD_LIT@46..82 | 57 | RECORD_EXPR@46..82 |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] "S" | 61 | [email protected] "S" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] | 63 | RECORD_EXPR_[email protected] |
64 | [email protected] "{" | 64 | [email protected] "{" |
65 | [email protected] " " | 65 | [email protected] " " |
66 | [email protected] | 66 | RECORD_EXPR_[email protected] |
67 | [email protected] | 67 | [email protected] |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] | 69 | [email protected] |
@@ -71,7 +71,7 @@ [email protected] | |||
71 | [email protected] "x" | 71 | [email protected] "x" |
72 | [email protected] "," | 72 | [email protected] "," |
73 | [email protected] " " | 73 | [email protected] " " |
74 | [email protected] | 74 | RECORD_EXPR_[email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "y" | 76 | [email protected] "y" |
77 | [email protected] ":" | 77 | [email protected] ":" |
@@ -100,16 +100,16 @@ [email protected] | |||
100 | [email protected] ";" | 100 | [email protected] ";" |
101 | [email protected] "\n " | 101 | [email protected] "\n " |
102 | [email protected] | 102 | [email protected] |
103 | RECORD_LIT@88..108 | 103 | RECORD_EXPR@88..108 |
104 | [email protected] | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] | 106 | [email protected] |
107 | [email protected] "TupleStruct" | 107 | [email protected] "TupleStruct" |
108 | [email protected] " " | 108 | [email protected] " " |
109 | [email protected] | 109 | RECORD_EXPR_[email protected] |
110 | [email protected] "{" | 110 | [email protected] "{" |
111 | [email protected] " " | 111 | [email protected] " " |
112 | [email protected] | 112 | RECORD_EXPR_[email protected] |
113 | [email protected] | 113 | [email protected] |
114 | [email protected] "0" | 114 | [email protected] "0" |
115 | [email protected] ":" | 115 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast b/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast index 02656df31..de8217064 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0062_mod_contents.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -57,7 +57,7 @@ [email protected] | |||
57 | [email protected] "{" | 57 | [email protected] "{" |
58 | [email protected] "}" | 58 | [email protected] "}" |
59 | [email protected] "\n" | 59 | [email protected] "\n" |
60 | STRUCT_DEF@60..69 | 60 | [email protected] |
61 | [email protected] "struct" | 61 | [email protected] "struct" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] | 63 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast index 24b9a1f46..4368930cc 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..19 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "!" | 5 | [email protected] "!" |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "X" | 18 | [email protected] "X" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | ASSOC_[email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] "}" | 22 | [email protected] "}" |
23 | [email protected] "\n" | 23 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast index 445d8d309..587160003 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0064_if_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..136 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast index 8e10f3673..3a7fcfe24 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..41 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "Iterator" | 19 | [email protected] "Iterator" |
20 | TYP[email protected] | 20 | GENERIC[email protected] |
21 | [email protected] "<" | 21 | [email protected] "<" |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
@@ -28,7 +28,7 @@ [email protected] | |||
28 | [email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "Foo" | 30 | [email protected] "Foo" |
31 | TYP[email protected] | 31 | GENERIC[email protected] |
32 | [email protected] "<" | 32 | [email protected] "<" |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "\'a" | 34 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast index 177bb5514..57d0661a5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0066_match_arm.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..166 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] "{" | 23 | [email protected] "{" |
24 | [email protected] "\n " | 24 | [email protected] "\n " |
25 | [email protected] | 25 | [email protected] |
26 | PLACEHOLDE[email protected] | 26 | WILDCARD[email protected] |
27 | [email protected] "_" | 27 | [email protected] "_" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] "=>" | 29 | [email protected] "=>" |
@@ -34,7 +34,7 @@ [email protected] | |||
34 | [email protected] "," | 34 | [email protected] "," |
35 | [email protected] "\n " | 35 | [email protected] "\n " |
36 | [email protected] | 36 | [email protected] |
37 | PLACEHOLDE[email protected] | 37 | WILDCARD[email protected] |
38 | [email protected] "_" | 38 | [email protected] "_" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
@@ -49,14 +49,14 @@ [email protected] | |||
49 | [email protected] " " | 49 | [email protected] " " |
50 | [email protected] ">" | 50 | [email protected] ">" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | RECORD_LIT@63..77 | 52 | RECORD_EXPR@63..77 |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "Test" | 56 | [email protected] "Test" |
57 | [email protected] | 57 | RECORD_EXPR_[email protected] |
58 | [email protected] "{" | 58 | [email protected] "{" |
59 | [email protected] | 59 | RECORD_EXPR_[email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] "field" | 61 | [email protected] "field" |
62 | [email protected] ":" | 62 | [email protected] ":" |
@@ -74,13 +74,13 @@ [email protected] | |||
74 | [email protected] "\n " | 74 | [email protected] "\n " |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] |
77 | BIN[email protected] | 77 | IDENT[email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] "X" | 79 | [email protected] "X" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] "|" | 81 | [email protected] "|" |
82 | [email protected] " " | 82 | [email protected] " " |
83 | BIN[email protected] | 83 | IDENT[email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] "Y" | 85 | [email protected] "Y" |
86 | [email protected] " " | 86 | [email protected] " " |
@@ -104,13 +104,13 @@ [email protected] | |||
104 | [email protected] "|" | 104 | [email protected] "|" |
105 | [email protected] " " | 105 | [email protected] " " |
106 | [email protected] | 106 | [email protected] |
107 | BIN[email protected] | 107 | IDENT[email protected] |
108 | [email protected] | 108 | [email protected] |
109 | [email protected] "X" | 109 | [email protected] "X" |
110 | [email protected] " " | 110 | [email protected] " " |
111 | [email protected] "|" | 111 | [email protected] "|" |
112 | [email protected] " " | 112 | [email protected] " " |
113 | BIN[email protected] | 113 | IDENT[email protected] |
114 | [email protected] | 114 | [email protected] |
115 | [email protected] "Y" | 115 | [email protected] "Y" |
116 | [email protected] " " | 116 | [email protected] " " |
@@ -133,7 +133,7 @@ [email protected] | |||
133 | [email protected] | 133 | [email protected] |
134 | [email protected] "|" | 134 | [email protected] "|" |
135 | [email protected] " " | 135 | [email protected] " " |
136 | BIN[email protected] | 136 | IDENT[email protected] |
137 | [email protected] | 137 | [email protected] |
138 | [email protected] "X" | 138 | [email protected] "X" |
139 | [email protected] " " | 139 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast index caa76fe8a..702f2e0b0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0067_crate_path.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..15 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast index ec2496072..6589e4795 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0068_union_items.rast | |||
@@ -1,24 +1,24 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | UNION_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "union" | 3 | [email protected] "union" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Foo" | 6 | [email protected] "Foo" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "}" | 10 | [email protected] "}" |
11 | [email protected] "\n" | 11 | [email protected] "\n" |
12 | UNION_DEF@13..50 | 12 | [email protected] |
13 | [email protected] "union" | 13 | [email protected] "union" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] "Foo" | 16 | [email protected] "Foo" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | RECORD_FIELD_DEF_[email protected] | 18 | [email protected] |
19 | [email protected] "{" | 19 | [email protected] "{" |
20 | [email protected] "\n " | 20 | [email protected] "\n " |
21 | RECORD_FIELD_DEF@29..35 | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "a" | 23 | [email protected] "a" |
24 | [email protected] ":" | 24 | [email protected] ":" |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] "i32" | 30 | [email protected] "i32" |
31 | [email protected] "," | 31 | [email protected] "," |
32 | [email protected] "\n " | 32 | [email protected] "\n " |
33 | RECORD_FIELD_DEF@41..47 | 33 | [email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] "b" | 35 | [email protected] "b" |
36 | [email protected] ":" | 36 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast index 18cd5271f..c4c5bc51e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0069_use_tree_list_after_path.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..18 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] ";" | 18 | [email protected] ";" |
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | USE_ITEM@19..36 | 20 | [email protected] |
21 | [email protected] "use" | 21 | [email protected] "use" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast index f8ff7079b..36c9cd5bb 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..45 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast index 07b3d1435..d34d98ced 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0071_match_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..96 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -53,7 +53,7 @@ [email protected] | |||
53 | [email protected] "{" | 53 | [email protected] "{" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] | 55 | [email protected] |
56 | PLACEHOLDE[email protected] | 56 | WILDCARD[email protected] |
57 | [email protected] "_" | 57 | [email protected] "_" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | [email protected] "=>" | 59 | [email protected] "=>" |
@@ -72,13 +72,13 @@ [email protected] | |||
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "{" | 73 | [email protected] "{" |
74 | [email protected] " " | 74 | [email protected] " " |
75 | RECORD_LIT@84..88 | 75 | RECORD_EXPR@84..88 |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] "S" | 79 | [email protected] "S" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] | 81 | RECORD_EXPR_[email protected] |
82 | [email protected] "{" | 82 | [email protected] "{" |
83 | [email protected] "}" | 83 | [email protected] "}" |
84 | [email protected] " " | 84 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast index 665f716a8..437d7ac04 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0072_return_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..39 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast index cc871ac0c..00cce69e6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0073_type_item_type_params.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Result" | 6 | [email protected] "Result" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast index 3fd3a4391..3a789b9f5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0074_stmt_postfix_expr_ambiguity.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..83 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] "{" | 22 | [email protected] "{" |
23 | [email protected] "\n " | 23 | [email protected] "\n " |
24 | [email protected] | 24 | [email protected] |
25 | PLACEHOLDE[email protected] | 25 | WILDCARD[email protected] |
26 | [email protected] "_" | 26 | [email protected] "_" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] "=>" | 28 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast index 97c6e6a9d..e847ce9b2 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0075_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..9 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | FN_DEF@10..31 | 15 | [email protected] |
16 | [email protected] "fn" | 16 | [email protected] "fn" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -27,7 +27,7 @@ [email protected] | |||
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "let" | 28 | [email protected] "let" |
29 | [email protected] " " | 29 | [email protected] " " |
30 | PLACEHOLDE[email protected] | 30 | WILDCARD[email protected] |
31 | [email protected] "_" | 31 | [email protected] "_" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] "=" | 33 | [email protected] "=" |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] "}" | 39 | [email protected] "}" |
40 | [email protected] "\n" | 40 | [email protected] "\n" |
41 | FN_DEF@32..48 | 41 | [email protected] |
42 | [email protected] "fn" | 42 | [email protected] "fn" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] | 44 | [email protected] |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] "}" | 63 | [email protected] "}" |
64 | [email protected] "\n" | 64 | [email protected] "\n" |
65 | FN_DEF@49..64 | 65 | [email protected] |
66 | [email protected] "fn" | 66 | [email protected] "fn" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast index e2c1a507d..96217a7fd 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0076_function_where_clause.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..28 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "foo" | 6 | [email protected] "foo" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast index 4f3a8ed24..33e6fb93f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0077_try_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast index a08e16fab..2befc8388 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..15 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast b/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast index a00ab40f9..209711fc4 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,7 +8,7 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "Foo" | 9 | [email protected] "Foo" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast index 462d1a8bb..b3003577c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..88 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "x" | 19 | [email protected] "x" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] "{" | 39 | [email protected] "{" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
42 | PLACEHOLDE[email protected] | 42 | WILDCARD[email protected] |
43 | [email protected] "_" | 43 | [email protected] "_" |
44 | [email protected] " " | 44 | [email protected] " " |
45 | [email protected] "=>" | 45 | [email protected] "=>" |
@@ -79,7 +79,7 @@ [email protected] | |||
79 | [email protected] "{" | 79 | [email protected] "{" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | [email protected] | 81 | [email protected] |
82 | PLACEHOLDE[email protected] | 82 | WILDCARD[email protected] |
83 | [email protected] "_" | 83 | [email protected] "_" |
84 | [email protected] " " | 84 | [email protected] " " |
85 | [email protected] "=>" | 85 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast index b26ac2d36..f319d5141 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..28 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,13 +9,13 @@ [email protected] | |||
9 | [email protected] " " | 9 | [email protected] " " |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "for" | 11 | [email protected] "for" |
12 | TYP[email protected] | 12 | GENERIC[email protected] |
13 | [email protected] "<" | 13 | [email protected] "<" |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "\'a" | 15 | [email protected] "\'a" |
16 | [email protected] ">" | 16 | [email protected] ">" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | FN_POINTE[email protected] | 18 | [email protected] |
19 | [email protected] "fn" | 19 | [email protected] "fn" |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "(" | 21 | [email protected] "(" |
@@ -29,7 +29,7 @@ [email protected] | |||
29 | [email protected] ")" | 29 | [email protected] ")" |
30 | [email protected] ";" | 30 | [email protected] ";" |
31 | [email protected] "\n" | 31 | [email protected] "\n" |
32 | TYPE_ALIAS_DEF@29..81 | 32 | [email protected] |
33 | [email protected] "type" | 33 | [email protected] "type" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | [email protected] | 35 | [email protected] |
@@ -39,13 +39,13 @@ [email protected] | |||
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "for" | 41 | [email protected] "for" |
42 | TYP[email protected] | 42 | GENERIC[email protected] |
43 | [email protected] "<" | 43 | [email protected] "<" |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] "\'a" | 45 | [email protected] "\'a" |
46 | [email protected] ">" | 46 | [email protected] ">" |
47 | [email protected] " " | 47 | [email protected] " " |
48 | FN_POINTE[email protected] | 48 | [email protected] |
49 | [email protected] "unsafe" | 49 | [email protected] "unsafe" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | [email protected] |
@@ -57,7 +57,7 @@ [email protected] | |||
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "(" | 58 | [email protected] "(" |
59 | [email protected] | 59 | [email protected] |
60 | REFERENCE[email protected] | 60 | [email protected] |
61 | [email protected] "&" | 61 | [email protected] "&" |
62 | [email protected] "\'a" | 62 | [email protected] "\'a" |
63 | [email protected] " " | 63 | [email protected] " " |
@@ -74,7 +74,7 @@ [email protected] | |||
74 | [email protected] ")" | 74 | [email protected] ")" |
75 | [email protected] ";" | 75 | [email protected] ";" |
76 | [email protected] "\n" | 76 | [email protected] "\n" |
77 | TYPE_ALIAS_DEF@82..120 | 77 | [email protected] |
78 | [email protected] "type" | 78 | [email protected] "type" |
79 | [email protected] " " | 79 | [email protected] " " |
80 | [email protected] | 80 | [email protected] |
@@ -84,7 +84,7 @@ [email protected] | |||
84 | [email protected] " " | 84 | [email protected] " " |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] "for" | 86 | [email protected] "for" |
87 | TYP[email protected] | 87 | GENERIC[email protected] |
88 | [email protected] "<" | 88 | [email protected] "<" |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] "\'a" | 90 | [email protected] "\'a" |
@@ -95,10 +95,10 @@ [email protected] | |||
95 | [email protected] | 95 | [email protected] |
96 | [email protected] | 96 | [email protected] |
97 | [email protected] "PartialEq" | 97 | [email protected] "PartialEq" |
98 | TYP[email protected] | 98 | GENERIC[email protected] |
99 | [email protected] "<" | 99 | [email protected] "<" |
100 | [email protected] | 100 | [email protected] |
101 | REFERENCE[email protected] | 101 | [email protected] |
102 | [email protected] "&" | 102 | [email protected] "&" |
103 | [email protected] "\'a" | 103 | [email protected] "\'a" |
104 | [email protected] " " | 104 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast index 58bdf7e34..70b975c0b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0082_ref_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..199 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "let" | 17 | [email protected] "let" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | PLACEHOLDE[email protected] | 19 | WILDCARD[email protected] |
20 | [email protected] "_" | 20 | [email protected] "_" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] "=" | 22 | [email protected] "=" |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] | 30 | [email protected] |
31 | [email protected] "let" | 31 | [email protected] "let" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | PLACEHOLDE[email protected] | 33 | WILDCARD[email protected] |
34 | [email protected] "_" | 34 | [email protected] "_" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] "=" | 36 | [email protected] "=" |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "let" | 56 | [email protected] "let" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | PLACEHOLDE[email protected] | 58 | WILDCARD[email protected] |
59 | [email protected] "_" | 59 | [email protected] "_" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] "=" | 61 | [email protected] "=" |
@@ -72,7 +72,7 @@ [email protected] | |||
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "let" | 73 | [email protected] "let" |
74 | [email protected] " " | 74 | [email protected] " " |
75 | PLACEHOLDE[email protected] | 75 | WILDCARD[email protected] |
76 | [email protected] "_" | 76 | [email protected] "_" |
77 | [email protected] " " | 77 | [email protected] " " |
78 | [email protected] "=" | 78 | [email protected] "=" |
@@ -95,7 +95,7 @@ [email protected] | |||
95 | [email protected] | 95 | [email protected] |
96 | [email protected] "let" | 96 | [email protected] "let" |
97 | [email protected] " " | 97 | [email protected] " " |
98 | PLACEHOLDE[email protected] | 98 | WILDCARD[email protected] |
99 | [email protected] "_" | 99 | [email protected] "_" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | [email protected] "=" | 101 | [email protected] "=" |
@@ -116,7 +116,7 @@ [email protected] | |||
116 | [email protected] | 116 | [email protected] |
117 | [email protected] "let" | 117 | [email protected] "let" |
118 | [email protected] " " | 118 | [email protected] " " |
119 | PLACEHOLDE[email protected] | 119 | WILDCARD[email protected] |
120 | [email protected] "_" | 120 | [email protected] "_" |
121 | [email protected] " " | 121 | [email protected] " " |
122 | [email protected] "=" | 122 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rast b/crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rast index 217b07e59..cdbc40fe0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0083_struct_items.rast | |||
@@ -1,39 +1,39 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Foo" | 6 | [email protected] "Foo" |
7 | [email protected] ";" | 7 | [email protected] ";" |
8 | [email protected] "\n" | 8 | [email protected] "\n" |
9 | STRUCT_DEF@12..25 | 9 | [email protected] |
10 | [email protected] "struct" | 10 | [email protected] "struct" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "Foo" | 13 | [email protected] "Foo" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | RECORD_FIELD_DEF_[email protected] | 15 | [email protected] |
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | STRUCT_DEF@26..39 | 19 | [email protected] |
20 | [email protected] "struct" | 20 | [email protected] "struct" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "Foo" | 23 | [email protected] "Foo" |
24 | TUPLE_FIELD_DEF_[email protected] | 24 | [email protected] |
25 | [email protected] "(" | 25 | [email protected] "(" |
26 | [email protected] ")" | 26 | [email protected] ")" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] "\n" | 28 | [email protected] "\n" |
29 | STRUCT_DEF@40..66 | 29 | [email protected] |
30 | [email protected] "struct" | 30 | [email protected] "struct" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "Foo" | 33 | [email protected] "Foo" |
34 | TUPLE_FIELD_DEF_[email protected] | 34 | [email protected] |
35 | [email protected] "(" | 35 | [email protected] "(" |
36 | TUPLE_FIELD_DEF@51..57 | 36 | [email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "String" | 41 | [email protected] "String" |
42 | [email protected] "," | 42 | [email protected] "," |
43 | [email protected] " " | 43 | [email protected] " " |
44 | TUPLE_FIELD_DEF@59..64 | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
@@ -50,16 +50,16 @@ [email protected] | |||
50 | [email protected] ")" | 50 | [email protected] ")" |
51 | [email protected] ";" | 51 | [email protected] ";" |
52 | [email protected] "\n" | 52 | [email protected] "\n" |
53 | STRUCT_DEF@67..105 | 53 | [email protected] |
54 | [email protected] "struct" | 54 | [email protected] "struct" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] "Foo" | 57 | [email protected] "Foo" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | RECORD_FIELD_DEF_[email protected] | 59 | [email protected] |
60 | [email protected] "{" | 60 | [email protected] "{" |
61 | [email protected] "\n " | 61 | [email protected] "\n " |
62 | RECORD_FIELD_DEF@84..90 | 62 | [email protected] |
63 | [email protected] | 63 | [email protected] |
64 | [email protected] "a" | 64 | [email protected] "a" |
65 | [email protected] ":" | 65 | [email protected] ":" |
@@ -71,7 +71,7 @@ [email protected] | |||
71 | [email protected] "i32" | 71 | [email protected] "i32" |
72 | [email protected] "," | 72 | [email protected] "," |
73 | [email protected] "\n " | 73 | [email protected] "\n " |
74 | RECORD_FIELD_DEF@96..102 | 74 | [email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "b" | 76 | [email protected] "b" |
77 | [email protected] ":" | 77 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast index 9cd8910d4..ee8894966 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..15 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast b/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast index 9fcb7899e..9a87b5b93 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0085_expr_literals.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..188 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "let" | 27 | [email protected] "let" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | PLACEHOLDE[email protected] | 29 | WILDCARD[email protected] |
30 | [email protected] "_" | 30 | [email protected] "_" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] "=" | 32 | [email protected] "=" |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | PLACEHOLDE[email protected] | 41 | WILDCARD[email protected] |
42 | [email protected] "_" | 42 | [email protected] "_" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] "=" | 44 | [email protected] "=" |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "let" | 51 | [email protected] "let" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | PLACEHOLDE[email protected] | 53 | WILDCARD[email protected] |
54 | [email protected] "_" | 54 | [email protected] "_" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | [email protected] "=" | 56 | [email protected] "=" |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] | 62 | [email protected] |
63 | [email protected] "let" | 63 | [email protected] "let" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | PLACEHOLDE[email protected] | 65 | WILDCARD[email protected] |
66 | [email protected] "_" | 66 | [email protected] "_" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] "=" | 68 | [email protected] "=" |
@@ -74,7 +74,7 @@ [email protected] | |||
74 | [email protected] | 74 | [email protected] |
75 | [email protected] "let" | 75 | [email protected] "let" |
76 | [email protected] " " | 76 | [email protected] " " |
77 | PLACEHOLDE[email protected] | 77 | WILDCARD[email protected] |
78 | [email protected] "_" | 78 | [email protected] "_" |
79 | [email protected] " " | 79 | [email protected] " " |
80 | [email protected] "=" | 80 | [email protected] "=" |
@@ -86,7 +86,7 @@ [email protected] | |||
86 | [email protected] | 86 | [email protected] |
87 | [email protected] "let" | 87 | [email protected] "let" |
88 | [email protected] " " | 88 | [email protected] " " |
89 | PLACEHOLDE[email protected] | 89 | WILDCARD[email protected] |
90 | [email protected] "_" | 90 | [email protected] "_" |
91 | [email protected] " " | 91 | [email protected] " " |
92 | [email protected] "=" | 92 | [email protected] "=" |
@@ -98,7 +98,7 @@ [email protected] | |||
98 | [email protected] | 98 | [email protected] |
99 | [email protected] "let" | 99 | [email protected] "let" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | PLACEHOLDE[email protected] | 101 | WILDCARD[email protected] |
102 | [email protected] "_" | 102 | [email protected] "_" |
103 | [email protected] " " | 103 | [email protected] " " |
104 | [email protected] "=" | 104 | [email protected] "=" |
@@ -110,7 +110,7 @@ [email protected] | |||
110 | [email protected] | 110 | [email protected] |
111 | [email protected] "let" | 111 | [email protected] "let" |
112 | [email protected] " " | 112 | [email protected] " " |
113 | PLACEHOLDE[email protected] | 113 | WILDCARD[email protected] |
114 | [email protected] "_" | 114 | [email protected] "_" |
115 | [email protected] " " | 115 | [email protected] " " |
116 | [email protected] "=" | 116 | [email protected] "=" |
@@ -122,7 +122,7 @@ [email protected] | |||
122 | [email protected] | 122 | [email protected] |
123 | [email protected] "let" | 123 | [email protected] "let" |
124 | [email protected] " " | 124 | [email protected] " " |
125 | PLACEHOLDE[email protected] | 125 | WILDCARD[email protected] |
126 | [email protected] "_" | 126 | [email protected] "_" |
127 | [email protected] " " | 127 | [email protected] " " |
128 | [email protected] "=" | 128 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast index a42abc189..70e05a859 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0086_function_ret_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | FN_DEF@12..29 | 15 | [email protected] |
16 | [email protected] "fn" | 16 | [email protected] "fn" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast index 01ed3afca..43c09affe 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "impl" | 5 | [email protected] "impl" |
@@ -10,7 +10,7 @@ [email protected] | |||
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "Foo" | 11 | [email protected] "Foo" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] | 13 | ASSOC_[email protected] |
14 | [email protected] "{" | 14 | [email protected] "{" |
15 | [email protected] "}" | 15 | [email protected] "}" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast index 7e71d7373..f7b839303 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..87 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "for" | 39 | [email protected] "for" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "i" | 43 | [email protected] "i" |
44 | [email protected] " " | 44 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast index 48aaf1004..405b6a259 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0089_extern_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..18 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "extern" | 4 | [email protected] "extern" |
5 | [email protected] " " | 5 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rast b/crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rast index cee2bc906..2ef026e37 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0090_type_param_default.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast index 800412cef..0cac9ac43 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..15 | 2 | [email protected] |
3 | [email protected] "auto" | 3 | [email protected] "auto" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "trait" | 5 | [email protected] "trait" |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "T" | 8 | [email protected] "T" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | [email protected] | 10 | ASSOC_[email protected] |
11 | [email protected] "{" | 11 | [email protected] "{" |
12 | [email protected] "}" | 12 | [email protected] "}" |
13 | [email protected] "\n" | 13 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast index 1e2d7db7c..f80326465 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | FN_POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "fn" | 11 | [email protected] "fn" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast index aed81f9b0..82f03f9c1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0093_index_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast index 9370f6ae7..0ef11c682 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..22 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "auto" | 5 | [email protected] "auto" |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] | 9 | [email protected] |
10 | [email protected] "T" | 10 | [email protected] "T" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | ASSOC_[email protected] |
13 | [email protected] "{" | 13 | [email protected] "{" |
14 | [email protected] "}" | 14 | [email protected] "}" |
15 | [email protected] "\n" | 15 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast index 67d9595d3..c1fdc6e25 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast index 031e74652..e757249f0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0096_no_semi_after_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..166 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -59,7 +59,7 @@ [email protected] | |||
59 | [email protected] | 59 | [email protected] |
60 | [email protected] "for" | 60 | [email protected] "for" |
61 | [email protected] " " | 61 | [email protected] " " |
62 | PLACEHOLDE[email protected] | 62 | WILDCARD[email protected] |
63 | [email protected] "_" | 63 | [email protected] "_" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | [email protected] "in" | 65 | [email protected] "in" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast index 80bda4ba7..0a1b21d6e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..19 | 2 | [email protected] |
3 | [email protected] "default" | 3 | [email protected] "default" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "impl" | 5 | [email protected] "impl" |
@@ -10,7 +10,7 @@ [email protected] | |||
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "Foo" | 11 | [email protected] "Foo" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] | 13 | ASSOC_[email protected] |
14 | [email protected] "{" | 14 | [email protected] "{" |
15 | [email protected] "}" | 15 | [email protected] "}" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast index 816e49310..32a77ba49 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0098_const_unsafe_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..24 | 2 | [email protected] |
3 | [email protected] "const" | 3 | [email protected] "const" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "unsafe" | 5 | [email protected] "unsafe" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast index d48ef865c..f19e9fd52 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0099_param_list.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..9 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | FN_DEF@10..25 | 15 | [email protected] |
16 | [email protected] "fn" | 16 | [email protected] "fn" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "(" | 21 | [email protected] "(" |
22 | [email protected] | 22 | [email protected] |
23 | BIN[email protected] | 23 | IDENT[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "x" | 25 | [email protected] "x" |
26 | [email protected] ":" | 26 | [email protected] ":" |
@@ -36,7 +36,7 @@ [email protected] | |||
36 | [email protected] "{" | 36 | [email protected] "{" |
37 | [email protected] "}" | 37 | [email protected] "}" |
38 | [email protected] "\n" | 38 | [email protected] "\n" |
39 | FN_DEF@26..43 | 39 | [email protected] |
40 | [email protected] "fn" | 40 | [email protected] "fn" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] | 42 | [email protected] |
@@ -44,7 +44,7 @@ [email protected] | |||
44 | [email protected] | 44 | [email protected] |
45 | [email protected] "(" | 45 | [email protected] "(" |
46 | [email protected] | 46 | [email protected] |
47 | BIN[email protected] | 47 | IDENT[email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] "x" | 49 | [email protected] "x" |
50 | [email protected] ":" | 50 | [email protected] ":" |
@@ -62,7 +62,7 @@ [email protected] | |||
62 | [email protected] "{" | 62 | [email protected] "{" |
63 | [email protected] "}" | 63 | [email protected] "}" |
64 | [email protected] "\n" | 64 | [email protected] "\n" |
65 | FN_DEF@44..66 | 65 | [email protected] |
66 | [email protected] "fn" | 66 | [email protected] "fn" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
@@ -70,7 +70,7 @@ [email protected] | |||
70 | [email protected] | 70 | [email protected] |
71 | [email protected] "(" | 71 | [email protected] "(" |
72 | [email protected] | 72 | [email protected] |
73 | BIN[email protected] | 73 | IDENT[email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] "x" | 75 | [email protected] "x" |
76 | [email protected] ":" | 76 | [email protected] ":" |
@@ -83,7 +83,7 @@ [email protected] | |||
83 | [email protected] "," | 83 | [email protected] "," |
84 | [email protected] " " | 84 | [email protected] " " |
85 | [email protected] | 85 | [email protected] |
86 | BIN[email protected] | 86 | IDENT[email protected] |
87 | [email protected] | 87 | [email protected] |
88 | [email protected] "y" | 88 | [email protected] "y" |
89 | [email protected] ":" | 89 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast index e4455cd3e..5c4055e44 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0100_for_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..32 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -15,7 +15,7 @@ [email protected] | |||
15 | [email protected] | 15 | [email protected] |
16 | [email protected] "for" | 16 | [email protected] "for" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | BIN[email protected] | 18 | IDENT[email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "x" | 20 | [email protected] "x" |
21 | [email protected] " " | 21 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast index 8a8743060..73c94e5d4 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0101_unsafe_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "unsafe" | 3 | [email protected] "unsafe" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast index 9f966ff8a..866e60ed8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0102_record_field_pat_list.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..118 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "S" | 21 | [email protected] "S" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | RECORD_FIELD_PAT_[email protected] | 23 | RECORD_PAT_[email protected] |
24 | [email protected] "{" | 24 | [email protected] "{" |
25 | [email protected] "}" | 25 | [email protected] "}" |
26 | [email protected] " " | 26 | [email protected] " " |
@@ -40,17 +40,17 @@ [email protected] | |||
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "S" | 41 | [email protected] "S" |
42 | [email protected] " " | 42 | [email protected] " " |
43 | RECORD_FIELD_PAT_[email protected] | 43 | RECORD_PAT_[email protected] |
44 | [email protected] "{" | 44 | [email protected] "{" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | RECORD_FIELD_PAT@42..43 | 46 | RECORD_PAT_[email protected] |
47 | BIN[email protected] | 47 | IDENT[email protected] |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] "f" | 49 | [email protected] "f" |
50 | [email protected] "," | 50 | [email protected] "," |
51 | [email protected] " " | 51 | [email protected] " " |
52 | RECORD_FIELD_PAT@45..54 | 52 | RECORD_PAT_[email protected] |
53 | BIN[email protected] | 53 | IDENT[email protected] |
54 | [email protected] "ref" | 54 | [email protected] "ref" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | [email protected] "mut" | 56 | [email protected] "mut" |
@@ -76,15 +76,15 @@ [email protected] | |||
76 | [email protected] | 76 | [email protected] |
77 | [email protected] "S" | 77 | [email protected] "S" |
78 | [email protected] " " | 78 | [email protected] " " |
79 | RECORD_FIELD_PAT_[email protected] | 79 | RECORD_PAT_[email protected] |
80 | [email protected] "{" | 80 | [email protected] "{" |
81 | [email protected] " " | 81 | [email protected] " " |
82 | RECORD_FIELD_PAT@75..79 | 82 | RECORD_PAT_[email protected] |
83 | [email protected] | 83 | [email protected] |
84 | [email protected] "h" | 84 | [email protected] "h" |
85 | [email protected] ":" | 85 | [email protected] ":" |
86 | [email protected] " " | 86 | [email protected] " " |
87 | PLACEHOLDE[email protected] | 87 | WILDCARD[email protected] |
88 | [email protected] "_" | 88 | [email protected] "_" |
89 | [email protected] "," | 89 | [email protected] "," |
90 | [email protected] " " | 90 | [email protected] " " |
@@ -107,15 +107,15 @@ [email protected] | |||
107 | [email protected] | 107 | [email protected] |
108 | [email protected] "S" | 108 | [email protected] "S" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | RECORD_FIELD_PAT_[email protected] | 110 | RECORD_PAT_[email protected] |
111 | [email protected] "{" | 111 | [email protected] "{" |
112 | [email protected] " " | 112 | [email protected] " " |
113 | RECORD_FIELD_PAT@103..107 | 113 | RECORD_PAT_[email protected] |
114 | [email protected] | 114 | [email protected] |
115 | [email protected] "h" | 115 | [email protected] "h" |
116 | [email protected] ":" | 116 | [email protected] ":" |
117 | [email protected] " " | 117 | [email protected] " " |
118 | PLACEHOLDE[email protected] | 118 | WILDCARD[email protected] |
119 | [email protected] "_" | 119 | [email protected] "_" |
120 | [email protected] "," | 120 | [email protected] "," |
121 | [email protected] " " | 121 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast index 9b3bef04e..c4c0a0568 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0103_array_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..54 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast index e3c4cfeb3..1244a5031 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0104_path_fn_trait_args.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..28 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] "Box" | 14 | [email protected] "Box" |
15 | TYP[email protected] | 15 | GENERIC[email protected] |
16 | [email protected] "<" | 16 | [email protected] "<" |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast index e64717152..9b8381619 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0106_lambda_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..133 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | [email protected] | 14 | [email protected] |
15 | LAMBDA[email protected] | 15 | CLOSURE[email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "|" | 17 | [email protected] "|" |
18 | [email protected] "|" | 18 | [email protected] "|" |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] ";" | 23 | [email protected] ";" |
24 | [email protected] "\n " | 24 | [email protected] "\n " |
25 | [email protected] | 25 | [email protected] |
26 | LAMBDA[email protected] | 26 | CLOSURE[email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "|" | 28 | [email protected] "|" |
29 | [email protected] "|" | 29 | [email protected] "|" |
@@ -47,11 +47,11 @@ [email protected] | |||
47 | [email protected] ";" | 47 | [email protected] ";" |
48 | [email protected] "\n " | 48 | [email protected] "\n " |
49 | [email protected] | 49 | [email protected] |
50 | LAMBDA[email protected] | 50 | CLOSURE[email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "|" | 52 | [email protected] "|" |
53 | [email protected] | 53 | [email protected] |
54 | BIN[email protected] | 54 | IDENT[email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "x" | 56 | [email protected] "x" |
57 | [email protected] "|" | 57 | [email protected] "|" |
@@ -64,13 +64,13 @@ [email protected] | |||
64 | [email protected] ";" | 64 | [email protected] ";" |
65 | [email protected] "\n " | 65 | [email protected] "\n " |
66 | [email protected] | 66 | [email protected] |
67 | LAMBDA[email protected] | 67 | CLOSURE[email protected] |
68 | [email protected] "move" | 68 | [email protected] "move" |
69 | [email protected] " " | 69 | [email protected] " " |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] "|" | 71 | [email protected] "|" |
72 | [email protected] | 72 | [email protected] |
73 | BIN[email protected] | 73 | IDENT[email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] "x" | 75 | [email protected] "x" |
76 | [email protected] ":" | 76 | [email protected] ":" |
@@ -91,7 +91,7 @@ [email protected] | |||
91 | [email protected] ";" | 91 | [email protected] ";" |
92 | [email protected] "\n " | 92 | [email protected] "\n " |
93 | [email protected] | 93 | [email protected] |
94 | LAMBDA[email protected] | 94 | CLOSURE[email protected] |
95 | [email protected] "async" | 95 | [email protected] "async" |
96 | [email protected] " " | 96 | [email protected] " " |
97 | [email protected] | 97 | [email protected] |
@@ -104,7 +104,7 @@ [email protected] | |||
104 | [email protected] ";" | 104 | [email protected] ";" |
105 | [email protected] "\n " | 105 | [email protected] "\n " |
106 | [email protected] | 106 | [email protected] |
107 | LAMBDA[email protected] | 107 | CLOSURE[email protected] |
108 | [email protected] "move" | 108 | [email protected] "move" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | [email protected] | 110 | [email protected] |
@@ -117,7 +117,7 @@ [email protected] | |||
117 | [email protected] ";" | 117 | [email protected] ";" |
118 | [email protected] "\n " | 118 | [email protected] "\n " |
119 | [email protected] | 119 | [email protected] |
120 | LAMBDA[email protected] | 120 | CLOSURE[email protected] |
121 | [email protected] "async" | 121 | [email protected] "async" |
122 | [email protected] " " | 122 | [email protected] " " |
123 | [email protected] "move" | 123 | [email protected] "move" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast index 98963dc62..be8365e05 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0107_method_call_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..48 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -36,7 +36,7 @@ [email protected] | |||
36 | [email protected] "." | 36 | [email protected] "." |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "bar" | 38 | [email protected] "bar" |
39 | TYP[email protected] | 39 | GENERIC[email protected] |
40 | [email protected] "::" | 40 | [email protected] "::" |
41 | [email protected] "<" | 41 | [email protected] "<" |
42 | [email protected] | 42 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast index ea603e2c9..ca7e4a5c3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0108_tuple_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..39 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast index 30ff96a7c..c9588025c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0109_label.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..73 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -46,7 +46,7 @@ [email protected] | |||
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] "for" | 47 | [email protected] "for" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | BIN[email protected] | 49 | IDENT[email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "x" | 51 | [email protected] "x" |
52 | [email protected] " " | 52 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast index 015a7a7d2..82028096f 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0110_use_path.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..17 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] " " | 12 | [email protected] " " |
13 | [email protected] "// Rust 2018 - All fl ..." | 13 | [email protected] "// Rust 2018 - All fl ..." |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | USE_ITEM@46..61 | 15 | [email protected] |
16 | [email protected] "use" | 16 | [email protected] "use" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
@@ -24,7 +24,7 @@ [email protected] | |||
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] "// Rust 2018 - Anchor ..." | 25 | [email protected] "// Rust 2018 - Anchor ..." |
26 | [email protected] "\n" | 26 | [email protected] "\n" |
27 | USE_ITEM@92..124 | 27 | [email protected] |
28 | [email protected] "use" | 28 | [email protected] "use" |
29 | [email protected] " " | 29 | [email protected] " " |
30 | [email protected] | 30 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast index b58f40ac1..b82ed0230 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0111_tuple_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..93 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,17 +16,17 @@ [email protected] | |||
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "(" | 18 | [email protected] "(" |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "a" | 21 | [email protected] "a" |
22 | [email protected] "," | 22 | [email protected] "," |
23 | [email protected] " " | 23 | [email protected] " " |
24 | BIN[email protected] | 24 | IDENT[email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "b" | 26 | [email protected] "b" |
27 | [email protected] "," | 27 | [email protected] "," |
28 | [email protected] " " | 28 | [email protected] " " |
29 | DOT_DOT_[email protected] | 29 | RES[email protected] |
30 | [email protected] ".." | 30 | [email protected] ".." |
31 | [email protected] ")" | 31 | [email protected] ")" |
32 | [email protected] " " | 32 | [email protected] " " |
@@ -42,7 +42,7 @@ [email protected] | |||
42 | [email protected] " " | 42 | [email protected] " " |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "(" | 44 | [email protected] "(" |
45 | BIN[email protected] | 45 | IDENT[email protected] |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] "a" | 47 | [email protected] "a" |
48 | [email protected] "," | 48 | [email protected] "," |
@@ -60,7 +60,7 @@ [email protected] | |||
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] | 61 | [email protected] |
62 | [email protected] "(" | 62 | [email protected] "(" |
63 | DOT_DOT_[email protected] | 63 | RES[email protected] |
64 | [email protected] ".." | 64 | [email protected] ".." |
65 | [email protected] ")" | 65 | [email protected] ")" |
66 | [email protected] " " | 66 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast index b67714c17..7b9a498c8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0112_bind_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..145 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "a" | 19 | [email protected] "a" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -28,7 +28,7 @@ [email protected] | |||
28 | [email protected] | 28 | [email protected] |
29 | [email protected] "let" | 29 | [email protected] "let" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | BIN[email protected] | 31 | IDENT[email protected] |
32 | [email protected] "mut" | 32 | [email protected] "mut" |
33 | [email protected] " " | 33 | [email protected] " " |
34 | [email protected] | 34 | [email protected] |
@@ -44,7 +44,7 @@ [email protected] | |||
44 | [email protected] | 44 | [email protected] |
45 | [email protected] "let" | 45 | [email protected] "let" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | BIN[email protected] | 47 | IDENT[email protected] |
48 | [email protected] "ref" | 48 | [email protected] "ref" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | [email protected] | 50 | [email protected] |
@@ -60,7 +60,7 @@ [email protected] | |||
60 | [email protected] | 60 | [email protected] |
61 | [email protected] "let" | 61 | [email protected] "let" |
62 | [email protected] " " | 62 | [email protected] " " |
63 | BIN[email protected] | 63 | IDENT[email protected] |
64 | [email protected] "ref" | 64 | [email protected] "ref" |
65 | [email protected] " " | 65 | [email protected] " " |
66 | [email protected] "mut" | 66 | [email protected] "mut" |
@@ -78,13 +78,13 @@ [email protected] | |||
78 | [email protected] | 78 | [email protected] |
79 | [email protected] "let" | 79 | [email protected] "let" |
80 | [email protected] " " | 80 | [email protected] " " |
81 | BIN[email protected] | 81 | IDENT[email protected] |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] "e" | 83 | [email protected] "e" |
84 | [email protected] " " | 84 | [email protected] " " |
85 | [email protected] "@" | 85 | [email protected] "@" |
86 | [email protected] " " | 86 | [email protected] " " |
87 | PLACEHOLDE[email protected] | 87 | WILDCARD[email protected] |
88 | [email protected] "_" | 88 | [email protected] "_" |
89 | [email protected] " " | 89 | [email protected] " " |
90 | [email protected] "=" | 90 | [email protected] "=" |
@@ -97,7 +97,7 @@ [email protected] | |||
97 | [email protected] | 97 | [email protected] |
98 | [email protected] "let" | 98 | [email protected] "let" |
99 | [email protected] " " | 99 | [email protected] " " |
100 | BIN[email protected] | 100 | IDENT[email protected] |
101 | [email protected] "ref" | 101 | [email protected] "ref" |
102 | [email protected] " " | 102 | [email protected] " " |
103 | [email protected] "mut" | 103 | [email protected] "mut" |
@@ -107,13 +107,13 @@ [email protected] | |||
107 | [email protected] " " | 107 | [email protected] " " |
108 | [email protected] "@" | 108 | [email protected] "@" |
109 | [email protected] " " | 109 | [email protected] " " |
110 | BIN[email protected] | 110 | IDENT[email protected] |
111 | [email protected] | 111 | [email protected] |
112 | [email protected] "g" | 112 | [email protected] "g" |
113 | [email protected] " " | 113 | [email protected] " " |
114 | [email protected] "@" | 114 | [email protected] "@" |
115 | [email protected] " " | 115 | [email protected] " " |
116 | PLACEHOLDE[email protected] | 116 | WILDCARD[email protected] |
117 | [email protected] "_" | 117 | [email protected] "_" |
118 | [email protected] " " | 118 | [email protected] " " |
119 | [email protected] "=" | 119 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast index 5de480da9..d761c1c68 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0113_nocontentexpr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..49 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast b/crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast index 01d717d6b..0e1594dc4 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0114_tuple_struct_where.rast | |||
@@ -1,18 +1,18 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..33 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Test" | 6 | [email protected] "Test" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "T" | 11 | [email protected] "T" |
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | TUPLE_FIELD_DEF_[email protected] | 13 | [email protected] |
14 | [email protected] "(" | 14 | [email protected] "(" |
15 | TUPLE_FIELD_DEF@15..16 | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
@@ -40,20 +40,20 @@ [email protected] | |||
40 | [email protected] "Clone" | 40 | [email protected] "Clone" |
41 | [email protected] ";" | 41 | [email protected] ";" |
42 | [email protected] "\n" | 42 | [email protected] "\n" |
43 | STRUCT_DEF@34..52 | 43 | [email protected] |
44 | [email protected] "struct" | 44 | [email protected] "struct" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] "Test" | 47 | [email protected] "Test" |
48 | TYP[email protected] | 48 | GENERIC[email protected] |
49 | [email protected] "<" | 49 | [email protected] "<" |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "T" | 52 | [email protected] "T" |
53 | [email protected] ">" | 53 | [email protected] ">" |
54 | TUPLE_FIELD_DEF_[email protected] | 54 | [email protected] |
55 | [email protected] "(" | 55 | [email protected] "(" |
56 | TUPLE_FIELD_DEF@49..50 | 56 | [email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
59 | [email protected] | 59 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast b/crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast index 3c0ef9005..4d09c9f50 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0115_tuple_field_attrs.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..59 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | TUPLE_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "(" | 9 | [email protected] "(" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | TUPLE_FIELD_DEF@15..55 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "#" | 13 | [email protected] "#" |
14 | [email protected] "[" | 14 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rast index ddfcf974e..f3d4ad72c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0117_macro_call_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..16 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -18,7 +18,7 @@ [email protected] | |||
18 | [email protected] ")" | 18 | [email protected] ")" |
19 | [email protected] ";" | 19 | [email protected] ";" |
20 | [email protected] "\n" | 20 | [email protected] "\n" |
21 | TYPE_ALIAS_DEF@17..40 | 21 | [email protected] |
22 | [email protected] "type" | 22 | [email protected] "type" |
23 | [email protected] " " | 23 | [email protected] " " |
24 | [email protected] | 24 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast b/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast index a65a5c85f..141a7b203 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | ENUM_DEF@0..8 | 2 | [email protected] |
3 | [email protected] "enum" | 3 | [email protected] "enum" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "F" | 6 | [email protected] "F" |
7 | ENUM_[email protected] | 7 | [email protected] |
8 | [email protected] "{" | 8 | [email protected] "{" |
9 | [email protected] "}" | 9 | [email protected] "}" |
10 | [email protected] "\n" | 10 | [email protected] "\n" |
11 | IMPL_DEF@9..93 | 11 | [email protected] |
12 | [email protected] "impl" | 12 | [email protected] "impl" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "F" | 18 | [email protected] "F" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | ASSOC_[email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] "\n " | 22 | [email protected] "\n " |
23 | [email protected] "//! This is a doc com ..." | 23 | [email protected] "//! This is a doc com ..." |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast b/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast index e152c6b6c..0cf4eb0a5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0118_match_guard.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..57 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] "{" | 22 | [email protected] "{" |
23 | [email protected] "\n " | 23 | [email protected] "\n " |
24 | [email protected] | 24 | [email protected] |
25 | PLACEHOLDE[email protected] | 25 | WILDCARD[email protected] |
26 | [email protected] "_" | 26 | [email protected] "_" |
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] | 28 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast index b283ab804..ec7a00f1d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0120_match_arms_inner_attribute.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..138 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -64,7 +64,7 @@ [email protected] | |||
64 | [email protected] "]" | 64 | [email protected] "]" |
65 | [email protected] "\n " | 65 | [email protected] "\n " |
66 | [email protected] | 66 | [email protected] |
67 | PLACEHOLDE[email protected] | 67 | WILDCARD[email protected] |
68 | [email protected] "_" | 68 | [email protected] "_" |
69 | [email protected] " " | 69 | [email protected] " " |
70 | [email protected] "=>" | 70 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast index 9d5470914..97924da05 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0121_match_arms_outer_attributes.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..258 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -39,7 +39,7 @@ [email protected] | |||
39 | [email protected] ")" | 39 | [email protected] ")" |
40 | [email protected] "]" | 40 | [email protected] "]" |
41 | [email protected] "\n " | 41 | [email protected] "\n " |
42 | PLACEHOLDE[email protected] | 42 | WILDCARD[email protected] |
43 | [email protected] "_" | 43 | [email protected] "_" |
44 | [email protected] " " | 44 | [email protected] " " |
45 | [email protected] "=>" | 45 | [email protected] "=>" |
@@ -67,7 +67,7 @@ [email protected] | |||
67 | [email protected] ")" | 67 | [email protected] ")" |
68 | [email protected] "]" | 68 | [email protected] "]" |
69 | [email protected] "\n " | 69 | [email protected] "\n " |
70 | PLACEHOLDE[email protected] | 70 | WILDCARD[email protected] |
71 | [email protected] "_" | 71 | [email protected] "_" |
72 | [email protected] " " | 72 | [email protected] " " |
73 | [email protected] "=>" | 73 | [email protected] "=>" |
@@ -129,7 +129,7 @@ [email protected] | |||
129 | [email protected] ")" | 129 | [email protected] ")" |
130 | [email protected] "]" | 130 | [email protected] "]" |
131 | [email protected] "\n " | 131 | [email protected] "\n " |
132 | PLACEHOLDE[email protected] | 132 | WILDCARD[email protected] |
133 | [email protected] "_" | 133 | [email protected] "_" |
134 | [email protected] " " | 134 | [email protected] " " |
135 | [email protected] "=>" | 135 | [email protected] "=>" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast b/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast index ada2fc54e..570b95205 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0122_generic_lifetime_type_attribute.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..63 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "foo" | 6 | [email protected] "foo" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -43,11 +43,11 @@ [email protected] | |||
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "(" | 44 | [email protected] "(" |
45 | [email protected] | 45 | [email protected] |
46 | PLACEHOLDE[email protected] | 46 | WILDCARD[email protected] |
47 | [email protected] "_" | 47 | [email protected] "_" |
48 | [email protected] ":" | 48 | [email protected] ":" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | REFERENCE[email protected] | 50 | [email protected] |
51 | [email protected] "&" | 51 | [email protected] "&" |
52 | [email protected] "\'a" | 52 | [email protected] "\'a" |
53 | [email protected] " " | 53 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast index b3a33c14d..7cdec6634 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0123_param_list_vararg.rast | |||
@@ -8,7 +8,7 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | FN_DEF@13..54 | 11 | [email protected] |
12 | [email protected] "fn" | 12 | [email protected] "fn" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -16,12 +16,12 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "(" | 17 | [email protected] "(" |
18 | [email protected] | 18 | [email protected] |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "format" | 21 | [email protected] "format" |
22 | [email protected] ":" | 22 | [email protected] ":" |
23 | [email protected] " " | 23 | [email protected] " " |
24 | POINTE[email protected] | 24 | [email protected] |
25 | [email protected] "*" | 25 | [email protected] "*" |
26 | [email protected] "const" | 26 | [email protected] "const" |
27 | [email protected] " " | 27 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast index 6178dfe59..a7df188bd 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0124_async_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "async" | 3 | [email protected] "async" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast index ced59b7c1..aa4d7a784 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0125_crate_keyword_path.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast index 97611f7f3..54ea2c7c6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0125_record_literal_field_with_attr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..45 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,16 +11,16 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | RECORD_LIT@16..43 | 14 | RECORD_EXPR@16..43 |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "S" | 18 | [email protected] "S" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | RECORD_EXPR_[email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | RECORD_EXPR_[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "#" | 25 | [email protected] "#" |
26 | [email protected] "[" | 26 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast index 09221fc54..0342e64f3 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0126_attr_on_expr_stmt.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..81 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast index 93cc41533..3b46e5b47 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0127_attr_on_last_expr_in_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..46 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast index 0901f2348..98a20f36d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0128_combined_fns.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..24 | 2 | [email protected] |
3 | [email protected] "async" | 3 | [email protected] "async" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "unsafe" | 5 | [email protected] "unsafe" |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | FN_DEF@25..49 | 19 | [email protected] |
20 | [email protected] "const" | 20 | [email protected] "const" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] "unsafe" | 22 | [email protected] "unsafe" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast index 28291afc2..e283966ca 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0129_marco_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..32 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast index bb94a05c6..4c07cefa6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_let_stmt.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..134 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "a" | 19 | [email protected] "a" |
20 | [email protected] ";" | 20 | [email protected] ";" |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "let" | 23 | [email protected] "let" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | BIN[email protected] | 25 | IDENT[email protected] |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "b" | 27 | [email protected] "b" |
28 | [email protected] ":" | 28 | [email protected] ":" |
@@ -37,7 +37,7 @@ [email protected] | |||
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "let" | 38 | [email protected] "let" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | BIN[email protected] | 40 | IDENT[email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "c" | 42 | [email protected] "c" |
43 | [email protected] " " | 43 | [email protected] " " |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "let" | 51 | [email protected] "let" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | BIN[email protected] | 53 | IDENT[email protected] |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "d" | 55 | [email protected] "d" |
56 | [email protected] ":" | 56 | [email protected] ":" |
@@ -70,7 +70,7 @@ [email protected] | |||
70 | [email protected] | 70 | [email protected] |
71 | [email protected] "let" | 71 | [email protected] "let" |
72 | [email protected] " " | 72 | [email protected] " " |
73 | BIN[email protected] | 73 | IDENT[email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] "e" | 75 | [email protected] "e" |
76 | [email protected] ":" | 76 | [email protected] ":" |
@@ -82,7 +82,7 @@ [email protected] | |||
82 | [email protected] | 82 | [email protected] |
83 | [email protected] "let" | 83 | [email protected] "let" |
84 | [email protected] " " | 84 | [email protected] " " |
85 | PLACEHOLDE[email protected] | 85 | WILDCARD[email protected] |
86 | [email protected] "_" | 86 | [email protected] "_" |
87 | [email protected] ":" | 87 | [email protected] ":" |
88 | [email protected] " " | 88 | [email protected] " " |
@@ -99,13 +99,13 @@ [email protected] | |||
99 | [email protected] | 99 | [email protected] |
100 | [email protected] "let" | 100 | [email protected] "let" |
101 | [email protected] " " | 101 | [email protected] " " |
102 | BIN[email protected] | 102 | IDENT[email protected] |
103 | [email protected] | 103 | [email protected] |
104 | [email protected] "f" | 104 | [email protected] "f" |
105 | [email protected] " " | 105 | [email protected] " " |
106 | [email protected] "=" | 106 | [email protected] "=" |
107 | [email protected] " " | 107 | [email protected] " " |
108 | LAMBDA[email protected] | 108 | CLOSURE[email protected] |
109 | [email protected] | 109 | [email protected] |
110 | [email protected] "#" | 110 | [email protected] "#" |
111 | [email protected] "[" | 111 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast index 8f2f144c7..ffdffe2f8 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0130_try_block_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..32 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rast index 4a1c2b3a4..d47071a91 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0131_existential_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..36 | 2 | [email protected] |
3 | [email protected] "existential" | 3 | [email protected] "existential" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "type" | 5 | [email protected] "type" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast index 87ac42748..c55038247 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0132_box_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..105 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "x" | 19 | [email protected] "x" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] | 30 | [email protected] |
31 | [email protected] "let" | 31 | [email protected] "let" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | BIN[email protected] | 33 | IDENT[email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] "y" | 35 | [email protected] "y" |
36 | [email protected] " " | 36 | [email protected] " " |
@@ -56,7 +56,7 @@ [email protected] | |||
56 | [email protected] | 56 | [email protected] |
57 | [email protected] "let" | 57 | [email protected] "let" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | BIN[email protected] | 59 | IDENT[email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] "z" | 61 | [email protected] "z" |
62 | [email protected] " " | 62 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast index 00ce5ecf0..b8d26a53a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..68 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,10 +16,10 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "Foo" | 17 | [email protected] "Foo" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | ASSOC_[email protected] |
20 | [email protected] "{" | 20 | [email protected] "{" |
21 | [email protected] "\n " | 21 | [email protected] "\n " |
22 | TYPE_ALIAS_DEF@21..42 | 22 | [email protected] |
23 | [email protected] "default" | 23 | [email protected] "default" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] "type" | 25 | [email protected] "type" |
@@ -36,7 +36,7 @@ [email protected] | |||
36 | [email protected] "Bar" | 36 | [email protected] "Bar" |
37 | [email protected] ";" | 37 | [email protected] ";" |
38 | [email protected] "\n " | 38 | [email protected] "\n " |
39 | FN_DEF@47..66 | 39 | [email protected] |
40 | [email protected] "default" | 40 | [email protected] "default" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] "fn" | 42 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast index b330a0932..429a0506e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0134_nocontentexpr_after_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..110 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,21 +11,21 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | ENUM_DEF@27..75 | 14 | [email protected] |
15 | [email protected] "enum" | 15 | [email protected] "enum" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "LocalEnum" | 18 | [email protected] "LocalEnum" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | ENUM_[email protected] | 20 | [email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] "\n " | 22 | [email protected] "\n " |
23 | ENUM_[email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "One" | 25 | [email protected] "One" |
26 | [email protected] "," | 26 | [email protected] "," |
27 | [email protected] "\n " | 27 | [email protected] "\n " |
28 | ENUM_[email protected] | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "Two" | 30 | [email protected] "Two" |
31 | [email protected] "," | 31 | [email protected] "," |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] "}" | 33 | [email protected] "}" |
34 | [email protected] ";" | 34 | [email protected] ";" |
35 | [email protected] "\n " | 35 | [email protected] "\n " |
36 | FN_DEF@81..90 | 36 | [email protected] |
37 | [email protected] "fn" | 37 | [email protected] "fn" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] | 39 | [email protected] |
@@ -47,13 +47,13 @@ [email protected] | |||
47 | [email protected] "}" | 47 | [email protected] "}" |
48 | [email protected] ";" | 48 | [email protected] ";" |
49 | [email protected] "\n " | 49 | [email protected] "\n " |
50 | STRUCT_DEF@96..107 | 50 | [email protected] |
51 | [email protected] "struct" | 51 | [email protected] "struct" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "S" | 54 | [email protected] "S" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | RECORD_FIELD_DEF_[email protected] | 56 | [email protected] |
57 | [email protected] "{" | 57 | [email protected] "{" |
58 | [email protected] "}" | 58 | [email protected] "}" |
59 | [email protected] ";" | 59 | [email protected] ";" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast index 8e8d9e992..923effe38 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0137_await_expr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..66 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast index c457851c9..3870ec135 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_associated_type_bounds.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..58 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "print_all" | 6 | [email protected] "print_all" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -18,7 +18,7 @@ [email protected] | |||
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "Iterator" | 20 | [email protected] "Iterator" |
21 | TYP[email protected] | 21 | GENERIC[email protected] |
22 | [email protected] "<" | 22 | [email protected] "<" |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] | 24 | [email protected] |
@@ -37,7 +37,7 @@ [email protected] | |||
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "(" | 38 | [email protected] "(" |
39 | [email protected] | 39 | [email protected] |
40 | BIN[email protected] | 40 | IDENT[email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "printables" | 42 | [email protected] "printables" |
43 | [email protected] ":" | 43 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast index ea325831e..f7c0e0ab0 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_expression_after_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..51 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] "mut" | 18 | [email protected] "mut" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -22,14 +22,14 @@ [email protected] | |||
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] "=" | 23 | [email protected] "=" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | RECORD_LIT@26..33 | 25 | RECORD_EXPR@26..33 |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] "F" | 29 | [email protected] "F" |
30 | [email protected] | 30 | RECORD_EXPR_[email protected] |
31 | [email protected] "{" | 31 | [email protected] "{" |
32 | [email protected] | 32 | RECORD_EXPR_[email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "x" | 34 | [email protected] "x" |
35 | [email protected] ":" | 35 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast index 9135de9df..6403ff8d5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0138_self_param_outer_attr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast index 14610a0a2..495e4c51b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0139_param_outer_arg.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..27 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] "]" | 16 | [email protected] "]" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "pat" | 21 | [email protected] "pat" |
22 | [email protected] ":" | 22 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast index e6be8b7e4..36e448c94 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0142_for_range_from.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..50 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "for" | 15 | [email protected] "for" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "x" | 19 | [email protected] "x" |
20 | [email protected] " " | 20 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast index 57fba5fd5..65887b962 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0143_box_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..117 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "box" | 18 | [email protected] "box" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | BIN[email protected] | 20 | IDENT[email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "i" | 22 | [email protected] "i" |
23 | [email protected] " " | 23 | [email protected] " " |
@@ -40,19 +40,19 @@ [email protected] | |||
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "Outer" | 41 | [email protected] "Outer" |
42 | [email protected] " " | 42 | [email protected] " " |
43 | RECORD_FIELD_PAT_[email protected] | 43 | RECORD_PAT_[email protected] |
44 | [email protected] "{" | 44 | [email protected] "{" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | RECORD_FIELD_PAT@52..57 | 46 | RECORD_PAT_[email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "box" | 48 | [email protected] "box" |
49 | [email protected] " " | 49 | [email protected] " " |
50 | BIN[email protected] | 50 | IDENT[email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "i" | 52 | [email protected] "i" |
53 | [email protected] "," | 53 | [email protected] "," |
54 | [email protected] " " | 54 | [email protected] " " |
55 | RECORD_FIELD_PAT@59..79 | 55 | RECORD_PAT_[email protected] |
56 | [email protected] | 56 | [email protected] |
57 | [email protected] "j" | 57 | [email protected] "j" |
58 | [email protected] ":" | 58 | [email protected] ":" |
@@ -71,7 +71,7 @@ [email protected] | |||
71 | [email protected] " " | 71 | [email protected] " " |
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "&" | 73 | [email protected] "&" |
74 | BIN[email protected] | 74 | IDENT[email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "x" | 76 | [email protected] "x" |
77 | [email protected] ")" | 77 | [email protected] ")" |
@@ -91,7 +91,7 @@ [email protected] | |||
91 | [email protected] | 91 | [email protected] |
92 | [email protected] "box" | 92 | [email protected] "box" |
93 | [email protected] " " | 93 | [email protected] " " |
94 | BIN[email protected] | 94 | IDENT[email protected] |
95 | [email protected] "ref" | 95 | [email protected] "ref" |
96 | [email protected] " " | 96 | [email protected] " " |
97 | [email protected] "mut" | 97 | [email protected] "mut" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast index 8d8b9597b..8a5bde0b6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0144_dot_dot_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..554 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | DOT_DOT_[email protected] | 17 | RES[email protected] |
18 | [email protected] ".." | 18 | [email protected] ".." |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -35,12 +35,12 @@ [email protected] | |||
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] | 36 | [email protected] |
37 | [email protected] "(" | 37 | [email protected] "(" |
38 | BIN[email protected] | 38 | IDENT[email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "a" | 40 | [email protected] "a" |
41 | [email protected] "," | 41 | [email protected] "," |
42 | [email protected] " " | 42 | [email protected] " " |
43 | DOT_DOT_[email protected] | 43 | RES[email protected] |
44 | [email protected] ".." | 44 | [email protected] ".." |
45 | [email protected] ")" | 45 | [email protected] ")" |
46 | [email protected] " " | 46 | [email protected] " " |
@@ -56,12 +56,12 @@ [email protected] | |||
56 | [email protected] " " | 56 | [email protected] " " |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "(" | 58 | [email protected] "(" |
59 | BIN[email protected] | 59 | IDENT[email protected] |
60 | [email protected] | 60 | [email protected] |
61 | [email protected] "a" | 61 | [email protected] "a" |
62 | [email protected] "," | 62 | [email protected] "," |
63 | [email protected] " " | 63 | [email protected] " " |
64 | DOT_DOT_[email protected] | 64 | RES[email protected] |
65 | [email protected] ".." | 65 | [email protected] ".." |
66 | [email protected] "," | 66 | [email protected] "," |
67 | [email protected] ")" | 67 | [email protected] ")" |
@@ -82,12 +82,12 @@ [email protected] | |||
82 | [email protected] | 82 | [email protected] |
83 | [email protected] "Tuple" | 83 | [email protected] "Tuple" |
84 | [email protected] "(" | 84 | [email protected] "(" |
85 | BIN[email protected] | 85 | IDENT[email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] "a" | 87 | [email protected] "a" |
88 | [email protected] "," | 88 | [email protected] "," |
89 | [email protected] " " | 89 | [email protected] " " |
90 | DOT_DOT_[email protected] | 90 | RES[email protected] |
91 | [email protected] ".." | 91 | [email protected] ".." |
92 | [email protected] ")" | 92 | [email protected] ")" |
93 | [email protected] " " | 93 | [email protected] " " |
@@ -107,12 +107,12 @@ [email protected] | |||
107 | [email protected] | 107 | [email protected] |
108 | [email protected] "Tuple" | 108 | [email protected] "Tuple" |
109 | [email protected] "(" | 109 | [email protected] "(" |
110 | BIN[email protected] | 110 | IDENT[email protected] |
111 | [email protected] | 111 | [email protected] |
112 | [email protected] "a" | 112 | [email protected] "a" |
113 | [email protected] "," | 113 | [email protected] "," |
114 | [email protected] " " | 114 | [email protected] " " |
115 | DOT_DOT_[email protected] | 115 | RES[email protected] |
116 | [email protected] ".." | 116 | [email protected] ".." |
117 | [email protected] "," | 117 | [email protected] "," |
118 | [email protected] ")" | 118 | [email protected] ")" |
@@ -129,11 +129,11 @@ [email protected] | |||
129 | [email protected] " " | 129 | [email protected] " " |
130 | [email protected] | 130 | [email protected] |
131 | [email protected] "(" | 131 | [email protected] "(" |
132 | DOT_DOT_[email protected] | 132 | RES[email protected] |
133 | [email protected] ".." | 133 | [email protected] ".." |
134 | [email protected] "," | 134 | [email protected] "," |
135 | [email protected] " " | 135 | [email protected] " " |
136 | DOT_DOT_[email protected] | 136 | RES[email protected] |
137 | [email protected] ".." | 137 | [email protected] ".." |
138 | [email protected] ")" | 138 | [email protected] ")" |
139 | [email protected] " " | 139 | [email protected] " " |
@@ -153,11 +153,11 @@ [email protected] | |||
153 | [email protected] | 153 | [email protected] |
154 | [email protected] "Tuple" | 154 | [email protected] "Tuple" |
155 | [email protected] "(" | 155 | [email protected] "(" |
156 | DOT_DOT_[email protected] | 156 | RES[email protected] |
157 | [email protected] ".." | 157 | [email protected] ".." |
158 | [email protected] "," | 158 | [email protected] "," |
159 | [email protected] " " | 159 | [email protected] " " |
160 | DOT_DOT_[email protected] | 160 | RES[email protected] |
161 | [email protected] ".." | 161 | [email protected] ".." |
162 | [email protected] ")" | 162 | [email protected] ")" |
163 | [email protected] " " | 163 | [email protected] " " |
@@ -173,16 +173,16 @@ [email protected] | |||
173 | [email protected] " " | 173 | [email protected] " " |
174 | [email protected] | 174 | [email protected] |
175 | [email protected] "(" | 175 | [email protected] "(" |
176 | DOT_DOT_[email protected] | 176 | RES[email protected] |
177 | [email protected] ".." | 177 | [email protected] ".." |
178 | [email protected] "," | 178 | [email protected] "," |
179 | [email protected] " " | 179 | [email protected] " " |
180 | BIN[email protected] | 180 | IDENT[email protected] |
181 | [email protected] | 181 | [email protected] |
182 | [email protected] "a" | 182 | [email protected] "a" |
183 | [email protected] "," | 183 | [email protected] "," |
184 | [email protected] " " | 184 | [email protected] " " |
185 | DOT_DOT_[email protected] | 185 | RES[email protected] |
186 | [email protected] ".." | 186 | [email protected] ".." |
187 | [email protected] ")" | 187 | [email protected] ")" |
188 | [email protected] " " | 188 | [email protected] " " |
@@ -202,16 +202,16 @@ [email protected] | |||
202 | [email protected] | 202 | [email protected] |
203 | [email protected] "Tuple" | 203 | [email protected] "Tuple" |
204 | [email protected] "(" | 204 | [email protected] "(" |
205 | DOT_DOT_[email protected] | 205 | RES[email protected] |
206 | [email protected] ".." | 206 | [email protected] ".." |
207 | [email protected] "," | 207 | [email protected] "," |
208 | [email protected] " " | 208 | [email protected] " " |
209 | BIN[email protected] | 209 | IDENT[email protected] |
210 | [email protected] | 210 | [email protected] |
211 | [email protected] "a" | 211 | [email protected] "a" |
212 | [email protected] "," | 212 | [email protected] "," |
213 | [email protected] " " | 213 | [email protected] " " |
214 | DOT_DOT_[email protected] | 214 | RES[email protected] |
215 | [email protected] ".." | 215 | [email protected] ".." |
216 | [email protected] ")" | 216 | [email protected] ")" |
217 | [email protected] " " | 217 | [email protected] " " |
@@ -233,7 +233,7 @@ [email protected] | |||
233 | [email protected] " " | 233 | [email protected] " " |
234 | [email protected] | 234 | [email protected] |
235 | [email protected] "[" | 235 | [email protected] "[" |
236 | DOT_DOT_[email protected] | 236 | RES[email protected] |
237 | [email protected] ".." | 237 | [email protected] ".." |
238 | [email protected] "]" | 238 | [email protected] "]" |
239 | [email protected] " " | 239 | [email protected] " " |
@@ -249,12 +249,12 @@ [email protected] | |||
249 | [email protected] " " | 249 | [email protected] " " |
250 | [email protected] | 250 | [email protected] |
251 | [email protected] "[" | 251 | [email protected] "[" |
252 | BIN[email protected] | 252 | IDENT[email protected] |
253 | [email protected] | 253 | [email protected] |
254 | [email protected] "head" | 254 | [email protected] "head" |
255 | [email protected] "," | 255 | [email protected] "," |
256 | [email protected] " " | 256 | [email protected] " " |
257 | DOT_DOT_[email protected] | 257 | RES[email protected] |
258 | [email protected] ".." | 258 | [email protected] ".." |
259 | [email protected] "]" | 259 | [email protected] "]" |
260 | [email protected] " " | 260 | [email protected] " " |
@@ -270,18 +270,18 @@ [email protected] | |||
270 | [email protected] " " | 270 | [email protected] " " |
271 | [email protected] | 271 | [email protected] |
272 | [email protected] "[" | 272 | [email protected] "[" |
273 | BIN[email protected] | 273 | IDENT[email protected] |
274 | [email protected] | 274 | [email protected] |
275 | [email protected] "head" | 275 | [email protected] "head" |
276 | [email protected] "," | 276 | [email protected] "," |
277 | [email protected] " " | 277 | [email protected] " " |
278 | BIN[email protected] | 278 | IDENT[email protected] |
279 | [email protected] | 279 | [email protected] |
280 | [email protected] "tail" | 280 | [email protected] "tail" |
281 | [email protected] " " | 281 | [email protected] " " |
282 | [email protected] "@" | 282 | [email protected] "@" |
283 | [email protected] " " | 283 | [email protected] " " |
284 | DOT_DOT_[email protected] | 284 | RES[email protected] |
285 | [email protected] ".." | 285 | [email protected] ".." |
286 | [email protected] "]" | 286 | [email protected] "]" |
287 | [email protected] " " | 287 | [email protected] " " |
@@ -297,16 +297,16 @@ [email protected] | |||
297 | [email protected] " " | 297 | [email protected] " " |
298 | [email protected] | 298 | [email protected] |
299 | [email protected] "[" | 299 | [email protected] "[" |
300 | BIN[email protected] | 300 | IDENT[email protected] |
301 | [email protected] | 301 | [email protected] |
302 | [email protected] "head" | 302 | [email protected] "head" |
303 | [email protected] "," | 303 | [email protected] "," |
304 | [email protected] " " | 304 | [email protected] " " |
305 | DOT_DOT_[email protected] | 305 | RES[email protected] |
306 | [email protected] ".." | 306 | [email protected] ".." |
307 | [email protected] "," | 307 | [email protected] "," |
308 | [email protected] " " | 308 | [email protected] " " |
309 | BIN[email protected] | 309 | IDENT[email protected] |
310 | [email protected] | 310 | [email protected] |
311 | [email protected] "cons" | 311 | [email protected] "cons" |
312 | [email protected] "]" | 312 | [email protected] "]" |
@@ -323,22 +323,22 @@ [email protected] | |||
323 | [email protected] " " | 323 | [email protected] " " |
324 | [email protected] | 324 | [email protected] |
325 | [email protected] "[" | 325 | [email protected] "[" |
326 | BIN[email protected] | 326 | IDENT[email protected] |
327 | [email protected] | 327 | [email protected] |
328 | [email protected] "head" | 328 | [email protected] "head" |
329 | [email protected] "," | 329 | [email protected] "," |
330 | [email protected] " " | 330 | [email protected] " " |
331 | BIN[email protected] | 331 | IDENT[email protected] |
332 | [email protected] | 332 | [email protected] |
333 | [email protected] "mid" | 333 | [email protected] "mid" |
334 | [email protected] " " | 334 | [email protected] " " |
335 | [email protected] "@" | 335 | [email protected] "@" |
336 | [email protected] " " | 336 | [email protected] " " |
337 | DOT_DOT_[email protected] | 337 | RES[email protected] |
338 | [email protected] ".." | 338 | [email protected] ".." |
339 | [email protected] "," | 339 | [email protected] "," |
340 | [email protected] " " | 340 | [email protected] " " |
341 | BIN[email protected] | 341 | IDENT[email protected] |
342 | [email protected] | 342 | [email protected] |
343 | [email protected] "cons" | 343 | [email protected] "cons" |
344 | [email protected] "]" | 344 | [email protected] "]" |
@@ -355,20 +355,20 @@ [email protected] | |||
355 | [email protected] " " | 355 | [email protected] " " |
356 | [email protected] | 356 | [email protected] |
357 | [email protected] "[" | 357 | [email protected] "[" |
358 | BIN[email protected] | 358 | IDENT[email protected] |
359 | [email protected] | 359 | [email protected] |
360 | [email protected] "head" | 360 | [email protected] "head" |
361 | [email protected] "," | 361 | [email protected] "," |
362 | [email protected] " " | 362 | [email protected] " " |
363 | DOT_DOT_[email protected] | 363 | RES[email protected] |
364 | [email protected] ".." | 364 | [email protected] ".." |
365 | [email protected] "," | 365 | [email protected] "," |
366 | [email protected] " " | 366 | [email protected] " " |
367 | DOT_DOT_[email protected] | 367 | RES[email protected] |
368 | [email protected] ".." | 368 | [email protected] ".." |
369 | [email protected] "," | 369 | [email protected] "," |
370 | [email protected] " " | 370 | [email protected] " " |
371 | BIN[email protected] | 371 | IDENT[email protected] |
372 | [email protected] | 372 | [email protected] |
373 | [email protected] "cons" | 373 | [email protected] "cons" |
374 | [email protected] "]" | 374 | [email protected] "]" |
@@ -385,27 +385,27 @@ [email protected] | |||
385 | [email protected] " " | 385 | [email protected] " " |
386 | [email protected] | 386 | [email protected] |
387 | [email protected] "[" | 387 | [email protected] "[" |
388 | BIN[email protected] | 388 | IDENT[email protected] |
389 | [email protected] | 389 | [email protected] |
390 | [email protected] "head" | 390 | [email protected] "head" |
391 | [email protected] "," | 391 | [email protected] "," |
392 | [email protected] " " | 392 | [email protected] " " |
393 | DOT_DOT_[email protected] | 393 | RES[email protected] |
394 | [email protected] ".." | 394 | [email protected] ".." |
395 | [email protected] "," | 395 | [email protected] "," |
396 | [email protected] " " | 396 | [email protected] " " |
397 | BIN[email protected] | 397 | IDENT[email protected] |
398 | [email protected] | 398 | [email protected] |
399 | [email protected] "mid" | 399 | [email protected] "mid" |
400 | [email protected] "," | 400 | [email protected] "," |
401 | [email protected] " " | 401 | [email protected] " " |
402 | BIN[email protected] | 402 | IDENT[email protected] |
403 | [email protected] | 403 | [email protected] |
404 | [email protected] "tail" | 404 | [email protected] "tail" |
405 | [email protected] " " | 405 | [email protected] " " |
406 | [email protected] "@" | 406 | [email protected] "@" |
407 | [email protected] " " | 407 | [email protected] " " |
408 | DOT_DOT_[email protected] | 408 | RES[email protected] |
409 | [email protected] ".." | 409 | [email protected] ".." |
410 | [email protected] "]" | 410 | [email protected] "]" |
411 | [email protected] " " | 411 | [email protected] " " |
@@ -421,25 +421,25 @@ [email protected] | |||
421 | [email protected] " " | 421 | [email protected] " " |
422 | [email protected] | 422 | [email protected] |
423 | [email protected] "[" | 423 | [email protected] "[" |
424 | BIN[email protected] | 424 | IDENT[email protected] |
425 | [email protected] | 425 | [email protected] |
426 | [email protected] "head" | 426 | [email protected] "head" |
427 | [email protected] "," | 427 | [email protected] "," |
428 | [email protected] " " | 428 | [email protected] " " |
429 | DOT_DOT_[email protected] | 429 | RES[email protected] |
430 | [email protected] ".." | 430 | [email protected] ".." |
431 | [email protected] "," | 431 | [email protected] "," |
432 | [email protected] " " | 432 | [email protected] " " |
433 | BIN[email protected] | 433 | IDENT[email protected] |
434 | [email protected] | 434 | [email protected] |
435 | [email protected] "mid" | 435 | [email protected] "mid" |
436 | [email protected] "," | 436 | [email protected] "," |
437 | [email protected] " " | 437 | [email protected] " " |
438 | DOT_DOT_[email protected] | 438 | RES[email protected] |
439 | [email protected] ".." | 439 | [email protected] ".." |
440 | [email protected] "," | 440 | [email protected] "," |
441 | [email protected] " " | 441 | [email protected] " " |
442 | BIN[email protected] | 442 | IDENT[email protected] |
443 | [email protected] | 443 | [email protected] |
444 | [email protected] "cons" | 444 | [email protected] "cons" |
445 | [email protected] "]" | 445 | [email protected] "]" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast index 7c092d518..925409bdf 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0145_record_field_pat.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..62 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -20,10 +20,10 @@ [email protected] | |||
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "S" | 21 | [email protected] "S" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | RECORD_FIELD_PAT_[email protected] | 23 | RECORD_PAT_[email protected] |
24 | [email protected] "{" | 24 | [email protected] "{" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | RECORD_FIELD_PAT@23..27 | 26 | RECORD_PAT_[email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "0" | 28 | [email protected] "0" |
29 | [email protected] ":" | 29 | [email protected] ":" |
@@ -50,10 +50,10 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "S" | 51 | [email protected] "S" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | RECORD_FIELD_PAT_[email protected] | 53 | RECORD_PAT_[email protected] |
54 | [email protected] "{" | 54 | [email protected] "{" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | RECORD_FIELD_PAT@48..52 | 56 | RECORD_PAT_[email protected] |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] "x" | 58 | [email protected] "x" |
59 | [email protected] ":" | 59 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast b/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast index 8382a4f96..a36cc8dab 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0146_as_precedence.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..42 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -27,7 +27,7 @@ [email protected] | |||
27 | [email protected] " " | 27 | [email protected] " " |
28 | [email protected] "as" | 28 | [email protected] "as" |
29 | [email protected] " " | 29 | [email protected] " " |
30 | POINTE[email protected] | 30 | [email protected] |
31 | [email protected] "*" | 31 | [email protected] "*" |
32 | [email protected] "const" | 32 | [email protected] "const" |
33 | [email protected] " " | 33 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rast index 4b9b8e0ab..9312eab65 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0147_const_param.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..23 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] "const" | 10 | [email protected] "const" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast b/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast index 3c00a2647..f284aafcd 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0150_array_attrs.rast | |||
@@ -1,12 +1,12 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | CONST_DEF@0..39 | 2 | [email protected] |
3 | [email protected] "const" | 3 | [email protected] "const" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "A" | 6 | [email protected] "A" |
7 | [email protected] ":" | 7 | [email protected] ":" |
8 | [email protected] " " | 8 | [email protected] " " |
9 | REFERENCE[email protected] | 9 | [email protected] |
10 | [email protected] "&" | 10 | [email protected] "&" |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "[" | 12 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast index e70c3b710..12194abda 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..28 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | TYP[email protected] | 4 | GENERIC[email protected] |
5 | [email protected] "<" | 5 | [email protected] "<" |
6 | [email protected] | 6 | [email protected] |
7 | [email protected] "const" | 7 | [email protected] "const" |
@@ -22,7 +22,7 @@ [email protected] | |||
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "Bar" | 24 | [email protected] "Bar" |
25 | TYP[email protected] | 25 | GENERIC[email protected] |
26 | [email protected] "<" | 26 | [email protected] "<" |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] | 28 | [email protected] |
@@ -32,7 +32,7 @@ [email protected] | |||
32 | [email protected] "N" | 32 | [email protected] "N" |
33 | [email protected] ">" | 33 | [email protected] ">" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | [email protected] | 35 | ASSOC_[email protected] |
36 | [email protected] "{" | 36 | [email protected] "{" |
37 | [email protected] "}" | 37 | [email protected] "}" |
38 | [email protected] "\n" | 38 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rast b/crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rast index 48d73a4e7..dac50410e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0151_trait_alias.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..18 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Z" | 6 | [email protected] "Z" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "T" | 22 | [email protected] "T" |
23 | TYP[email protected] | 23 | GENERIC[email protected] |
24 | [email protected] "<" | 24 | [email protected] "<" |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] | 26 | [email protected] |
@@ -31,12 +31,12 @@ [email protected] | |||
31 | [email protected] ">" | 31 | [email protected] ">" |
32 | [email protected] ";" | 32 | [email protected] ";" |
33 | [email protected] "\n" | 33 | [email protected] "\n" |
34 | TRAIT_DEF@19..51 | 34 | [email protected] |
35 | [email protected] "trait" | 35 | [email protected] "trait" |
36 | [email protected] " " | 36 | [email protected] " " |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "Z" | 38 | [email protected] "Z" |
39 | TYP[email protected] | 39 | GENERIC[email protected] |
40 | [email protected] "<" | 40 | [email protected] "<" |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] | 42 | [email protected] |
@@ -52,7 +52,7 @@ [email protected] | |||
52 | [email protected] | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "T" | 54 | [email protected] "T" |
55 | TYP[email protected] | 55 | GENERIC[email protected] |
56 | [email protected] "<" | 56 | [email protected] "<" |
57 | [email protected] | 57 | [email protected] |
58 | [email protected] | 58 | [email protected] |
@@ -82,12 +82,12 @@ [email protected] | |||
82 | [email protected] "Copy" | 82 | [email protected] "Copy" |
83 | [email protected] ";" | 83 | [email protected] ";" |
84 | [email protected] "\n" | 84 | [email protected] "\n" |
85 | TRAIT_DEF@52..82 | 85 | [email protected] |
86 | [email protected] "trait" | 86 | [email protected] "trait" |
87 | [email protected] " " | 87 | [email protected] " " |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] "Z" | 89 | [email protected] "Z" |
90 | TYP[email protected] | 90 | GENERIC[email protected] |
91 | [email protected] "<" | 91 | [email protected] "<" |
92 | [email protected] | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
@@ -115,7 +115,7 @@ [email protected] | |||
115 | [email protected] | 115 | [email protected] |
116 | [email protected] | 116 | [email protected] |
117 | [email protected] "T" | 117 | [email protected] "T" |
118 | TYP[email protected] | 118 | GENERIC[email protected] |
119 | [email protected] "<" | 119 | [email protected] "<" |
120 | [email protected] | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast b/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast index f43dfbe63..2905c5f1a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0152_arg_with_attr.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..33 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast b/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast index 861065362..e6aff7b37 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0154_fn_pointer_param_ident_path.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..24 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | FN_POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "fn" | 11 | [email protected] "fn" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] ")" | 25 | [email protected] ")" |
26 | [email protected] ";" | 26 | [email protected] ";" |
27 | [email protected] "\n" | 27 | [email protected] "\n" |
28 | TYPE_ALIAS_DEF@25..54 | 28 | [email protected] |
29 | [email protected] "type" | 29 | [email protected] "type" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] | 31 | [email protected] |
@@ -33,12 +33,12 @@ [email protected] | |||
33 | [email protected] " " | 33 | [email protected] " " |
34 | [email protected] "=" | 34 | [email protected] "=" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | FN_POINTE[email protected] | 36 | [email protected] |
37 | [email protected] "fn" | 37 | [email protected] "fn" |
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "(" | 39 | [email protected] "(" |
40 | [email protected] | 40 | [email protected] |
41 | BIN[email protected] | 41 | IDENT[email protected] |
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "baz" | 43 | [email protected] "baz" |
44 | [email protected] ":" | 44 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast index ecac05950..31671b420 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0155_closure_params.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..62 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,23 +14,23 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "foo" | 19 | [email protected] "foo" |
20 | [email protected] " " | 20 | [email protected] " " |
21 | [email protected] "=" | 21 | [email protected] "=" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | LAMBDA[email protected] | 23 | CLOSURE[email protected] |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "|" | 25 | [email protected] "|" |
26 | [email protected] | 26 | [email protected] |
27 | BIN[email protected] | 27 | IDENT[email protected] |
28 | [email protected] | 28 | [email protected] |
29 | [email protected] "bar" | 29 | [email protected] "bar" |
30 | [email protected] "," | 30 | [email protected] "," |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
33 | BIN[email protected] | 33 | IDENT[email protected] |
34 | [email protected] | 34 | [email protected] |
35 | [email protected] "baz" | 35 | [email protected] "baz" |
36 | [email protected] ":" | 36 | [email protected] ":" |
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] "," | 43 | [email protected] "," |
44 | [email protected] " " | 44 | [email protected] " " |
45 | [email protected] | 45 | [email protected] |
46 | BIN[email protected] | 46 | IDENT[email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "qux" | 48 | [email protected] "qux" |
49 | [email protected] ":" | 49 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast index 092833417..508b4aca7 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_fn_def_param.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..29 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,12 +9,12 @@ [email protected] | |||
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "(" | 11 | [email protected] "(" |
12 | BIN[email protected] | 12 | IDENT[email protected] |
13 | [email protected] | 13 | [email protected] |
14 | [email protected] "x" | 14 | [email protected] "x" |
15 | [email protected] "," | 15 | [email protected] "," |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "y" | 19 | [email protected] "y" |
20 | [email protected] ")" | 20 | [email protected] ")" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast index 88d512f1a..88a513cee 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0156_or_pattern.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..129 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -25,12 +25,12 @@ [email protected] | |||
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "(" | 26 | [email protected] "(" |
27 | [email protected] | 27 | [email protected] |
28 | PLACEHOLDE[email protected] | 28 | WILDCARD[email protected] |
29 | [email protected] "_" | 29 | [email protected] "_" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] "|" | 31 | [email protected] "|" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | PLACEHOLDE[email protected] | 33 | WILDCARD[email protected] |
34 | [email protected] "_" | 34 | [email protected] "_" |
35 | [email protected] ")" | 35 | [email protected] ")" |
36 | [email protected] " " | 36 | [email protected] " " |
@@ -47,12 +47,12 @@ [email protected] | |||
47 | [email protected] | 47 | [email protected] |
48 | [email protected] "(" | 48 | [email protected] "(" |
49 | [email protected] | 49 | [email protected] |
50 | PLACEHOLDE[email protected] | 50 | WILDCARD[email protected] |
51 | [email protected] "_" | 51 | [email protected] "_" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | [email protected] "|" | 53 | [email protected] "|" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | PLACEHOLDE[email protected] | 55 | WILDCARD[email protected] |
56 | [email protected] "_" | 56 | [email protected] "_" |
57 | [email protected] ")" | 57 | [email protected] ")" |
58 | [email protected] " " | 58 | [email protected] " " |
@@ -67,12 +67,12 @@ [email protected] | |||
67 | [email protected] | 67 | [email protected] |
68 | [email protected] "(" | 68 | [email protected] "(" |
69 | [email protected] | 69 | [email protected] |
70 | PLACEHOLDE[email protected] | 70 | WILDCARD[email protected] |
71 | [email protected] "_" | 71 | [email protected] "_" |
72 | [email protected] " " | 72 | [email protected] " " |
73 | [email protected] "|" | 73 | [email protected] "|" |
74 | [email protected] " " | 74 | [email protected] " " |
75 | PLACEHOLDE[email protected] | 75 | WILDCARD[email protected] |
76 | [email protected] "_" | 76 | [email protected] "_" |
77 | [email protected] "," | 77 | [email protected] "," |
78 | [email protected] ")" | 78 | [email protected] ")" |
@@ -88,12 +88,12 @@ [email protected] | |||
88 | [email protected] | 88 | [email protected] |
89 | [email protected] "[" | 89 | [email protected] "[" |
90 | [email protected] | 90 | [email protected] |
91 | PLACEHOLDE[email protected] | 91 | WILDCARD[email protected] |
92 | [email protected] "_" | 92 | [email protected] "_" |
93 | [email protected] " " | 93 | [email protected] " " |
94 | [email protected] "|" | 94 | [email protected] "|" |
95 | [email protected] " " | 95 | [email protected] " " |
96 | PLACEHOLDE[email protected] | 96 | WILDCARD[email protected] |
97 | [email protected] "_" | 97 | [email protected] "_" |
98 | [email protected] "," | 98 | [email protected] "," |
99 | [email protected] "]" | 99 | [email protected] "]" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast index fad9df007..6abb4fe5a 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..22 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,12 +7,12 @@ [email protected] | |||
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] "=" | 8 | [email protected] "=" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | FN_POINTE[email protected] | 10 | [email protected] |
11 | [email protected] "fn" | 11 | [email protected] "fn" |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "(" | 13 | [email protected] "(" |
14 | [email protected] | 14 | [email protected] |
15 | PLACEHOLDE[email protected] | 15 | WILDCARD[email protected] |
16 | [email protected] "_" | 16 | [email protected] "_" |
17 | [email protected] ":" | 17 | [email protected] ":" |
18 | [email protected] " " | 18 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast b/crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast index e8a0e9ddd..a2e05eb2e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0157_variant_discriminant.rast | |||
@@ -1,19 +1,19 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | ENUM_DEF@0..22 | 2 | [email protected] |
3 | [email protected] "enum" | 3 | [email protected] "enum" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "E" | 6 | [email protected] "E" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | ENUM_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | ENUM_[email protected] | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "X" | 13 | [email protected] "X" |
14 | TUPLE_FIELD_DEF_[email protected] | 14 | [email protected] |
15 | [email protected] "(" | 15 | [email protected] "(" |
16 | TUPLE_FIELD_DEF@11..14 | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast b/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast index bd9e8d40f..8ae24b9c1 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0158_binop_resets_statementness.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..27 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast index 08333a325..aa4099a92 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0158_lambda_ret_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..33 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -13,7 +13,7 @@ [email protected] | |||
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | LAMBDA[email protected] | 16 | CLOSURE[email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "|" | 18 | [email protected] "|" |
19 | [email protected] "|" | 19 | [email protected] "|" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast index 5f09e4f4a..fb46d4ce4 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0159_try_macro_fallback.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast index 9efebd8b8..9e9a5f9c5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0161_labeled_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..22 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast index 4991f2c36..ca9a1183d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0162_unsafe_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..21 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast index adb6159f4..1269621dc 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..49 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,10 +16,10 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "Foo" | 17 | [email protected] "Foo" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | ASSOC_[email protected] |
20 | [email protected] "{" | 20 | [email protected] "{" |
21 | [email protected] "\n " | 21 | [email protected] "\n " |
22 | FN_DEF@21..47 | 22 | [email protected] |
23 | [email protected] "default" | 23 | [email protected] "default" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] "unsafe" | 25 | [email protected] "unsafe" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast index a9eda5668..6bfe925af 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "default" | 3 | [email protected] "default" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "unsafe" | 5 | [email protected] "unsafe" |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "Foo" | 13 | [email protected] "Foo" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | ASSOC_[email protected] |
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast index 868899275..f8910677b 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..32 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "<" | 21 | [email protected] "<" |
22 | PLACEHOLDE[email protected] | 22 | INF[email protected] |
23 | [email protected] "_" | 23 | [email protected] "_" |
24 | [email protected] ">" | 24 | [email protected] ">" |
25 | [email protected] "::" | 25 | [email protected] "::" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast b/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast index 705f7e001..a171fe7a8 100644 --- a/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0001_struct_item.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..31 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -20,10 +20,10 @@ [email protected] | |||
20 | [email protected] "Copy" | 20 | [email protected] "Copy" |
21 | [email protected] ">" | 21 | [email protected] ">" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | RECORD_FIELD_DEF_[email protected] | 23 | [email protected] |
24 | [email protected] "{" | 24 | [email protected] "{" |
25 | [email protected] "\n " | 25 | [email protected] "\n " |
26 | RECORD_FIELD_DEF@24..28 | 26 | [email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "f" | 28 | [email protected] "f" |
29 | [email protected] ":" | 29 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast b/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast index a1d546491..362892b91 100644 --- a/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast +++ b/crates/ra_syntax/test_data/parser/ok/0002_struct_item_field.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..23 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "foo" | 13 | [email protected] "foo" |
14 | [email protected] ":" | 14 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0005_fn_item.rast b/crates/ra_syntax/test_data/parser/ok/0005_fn_item.rast index 0ec237f8e..a7a2b11a7 100644 --- a/crates/ra_syntax/test_data/parser/ok/0005_fn_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0005_fn_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast b/crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast index b5bdf0aa9..594c2f8f2 100644 --- a/crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast +++ b/crates/ra_syntax/test_data/parser/ok/0007_extern_crate.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | EXTERN_CRATE_ITEM@0..17 | 2 | [email protected] |
3 | [email protected] "extern" | 3 | [email protected] "extern" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "crate" | 5 | [email protected] "crate" |
@@ -8,7 +8,7 @@ [email protected] | |||
8 | [email protected] "foo" | 8 | [email protected] "foo" |
9 | [email protected] ";" | 9 | [email protected] ";" |
10 | [email protected] "\n" | 10 | [email protected] "\n" |
11 | EXTERN_CRATE_ITEM@18..42 | 11 | [email protected] |
12 | [email protected] "extern" | 12 | [email protected] "extern" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] "crate" | 14 | [email protected] "crate" |
@@ -16,22 +16,21 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "foo" | 17 | [email protected] "foo" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | ALIAS@35..41 | 19 | RENAME@35..41 |
20 | [email protected] "as" | 20 | [email protected] "as" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "bar" | 23 | [email protected] "bar" |
24 | [email protected] ";" | 24 | [email protected] ";" |
25 | [email protected] "\n" | 25 | [email protected] "\n" |
26 | EXTERN_CRATE_ITEM@43..68 | 26 | [email protected] |
27 | [email protected] "extern" | 27 | [email protected] "extern" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] "crate" | 29 | [email protected] "crate" |
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] | 31 | [email protected] "self" |
32 | [email protected] "self" | ||
33 | [email protected] " " | 32 | [email protected] " " |
34 | ALIAS@61..67 | 33 | RENAME@61..67 |
35 | [email protected] "as" | 34 | [email protected] "as" |
36 | [email protected] " " | 35 | [email protected] " " |
37 | [email protected] | 36 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast index 37b452ec4..b2c1d791f 100644 --- a/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0008_mod_item.rast | |||
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "{" | 27 | [email protected] "{" |
28 | [email protected] "\n " | 28 | [email protected] "\n " |
29 | FN_DEF@31..47 | 29 | [email protected] |
30 | [email protected] "fn" | 30 | [email protected] "fn" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
@@ -40,13 +40,13 @@ [email protected] | |||
40 | [email protected] "\n " | 40 | [email protected] "\n " |
41 | [email protected] "}" | 41 | [email protected] "}" |
42 | [email protected] "\n " | 42 | [email protected] "\n " |
43 | STRUCT_DEF@52..63 | 43 | [email protected] |
44 | [email protected] "struct" | 44 | [email protected] "struct" |
45 | [email protected] " " | 45 | [email protected] " " |
46 | [email protected] | 46 | [email protected] |
47 | [email protected] "S" | 47 | [email protected] "S" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | RECORD_FIELD_DEF_[email protected] | 49 | [email protected] |
50 | [email protected] "{" | 50 | [email protected] "{" |
51 | [email protected] "}" | 51 | [email protected] "}" |
52 | [email protected] "\n" | 52 | [email protected] "\n" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0009_use_item.rast b/crates/ra_syntax/test_data/parser/ok/0009_use_item.rast index 96b8a94fc..6be1cf9fc 100644 --- a/crates/ra_syntax/test_data/parser/ok/0009_use_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0009_use_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..8 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] "foo" | 9 | [email protected] "foo" |
10 | [email protected] ";" | 10 | [email protected] ";" |
11 | [email protected] "\n" | 11 | [email protected] "\n" |
12 | USE_ITEM@9..19 | 12 | [email protected] |
13 | [email protected] "use" | 13 | [email protected] "use" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | [email protected] | 15 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rast b/crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rast index 07272dc3c..4d49e7933 100644 --- a/crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rast +++ b/crates/ra_syntax/test_data/parser/ok/0010_use_path_segments.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..20 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] "baz" | 20 | [email protected] "baz" |
21 | [email protected] ";" | 21 | [email protected] ";" |
22 | [email protected] "\n" | 22 | [email protected] "\n" |
23 | USE_ITEM@21..39 | 23 | [email protected] |
24 | [email protected] "use" | 24 | [email protected] "use" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | [email protected] | 26 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rast b/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rast index 0b9bc58e8..478fdba75 100644 --- a/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rast +++ b/crates/ra_syntax/test_data/parser/ok/0011_outer_attribute.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..34 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "#" | 4 | [email protected] "#" |
5 | [email protected] "[" | 5 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast b/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast index 980b34049..83a93b5a9 100644 --- a/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast +++ b/crates/ra_syntax/test_data/parser/ok/0012_visibility.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..9 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "}" | 13 | [email protected] "}" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | FN_DEF@10..23 | 15 | [email protected] |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "pub" | 17 | [email protected] "pub" |
18 | [email protected] " " | 18 | [email protected] " " |
@@ -28,7 +28,7 @@ [email protected] | |||
28 | [email protected] "{" | 28 | [email protected] "{" |
29 | [email protected] "}" | 29 | [email protected] "}" |
30 | [email protected] "\n" | 30 | [email protected] "\n" |
31 | FN_DEF@24..44 | 31 | [email protected] |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "pub" | 33 | [email protected] "pub" |
34 | [email protected] "(" | 34 | [email protected] "(" |
@@ -47,7 +47,7 @@ [email protected] | |||
47 | [email protected] "{" | 47 | [email protected] "{" |
48 | [email protected] "}" | 48 | [email protected] "}" |
49 | [email protected] "\n" | 49 | [email protected] "\n" |
50 | FN_DEF@45..65 | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "pub" | 52 | [email protected] "pub" |
53 | [email protected] "(" | 53 | [email protected] "(" |
@@ -66,7 +66,7 @@ [email protected] | |||
66 | [email protected] "{" | 66 | [email protected] "{" |
67 | [email protected] "}" | 67 | [email protected] "}" |
68 | [email protected] "\n" | 68 | [email protected] "\n" |
69 | FN_DEF@66..97 | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
71 | [email protected] "pub" | 71 | [email protected] "pub" |
72 | [email protected] "(" | 72 | [email protected] "(" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rast b/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rast index 05d9c05ad..66ab13660 100644 --- a/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rast +++ b/crates/ra_syntax/test_data/parser/ok/0013_use_path_self_super.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..14 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -13,7 +13,7 @@ [email protected] | |||
13 | [email protected] "foo" | 13 | [email protected] "foo" |
14 | [email protected] ";" | 14 | [email protected] ";" |
15 | [email protected] "\n" | 15 | [email protected] "\n" |
16 | USE_ITEM@15..37 | 16 | [email protected] |
17 | [email protected] "use" | 17 | [email protected] "use" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0014_use_tree.rast b/crates/ra_syntax/test_data/parser/ok/0014_use_tree.rast index 3642c107b..4389d2d4b 100644 --- a/crates/ra_syntax/test_data/parser/ok/0014_use_tree.rast +++ b/crates/ra_syntax/test_data/parser/ok/0014_use_tree.rast | |||
@@ -1,12 +1,12 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..6 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "*" | 6 | [email protected] "*" |
7 | [email protected] ";" | 7 | [email protected] ";" |
8 | [email protected] "\n" | 8 | [email protected] "\n" |
9 | USE_ITEM@7..15 | 9 | [email protected] |
10 | [email protected] "use" | 10 | [email protected] "use" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] "*" | 14 | [email protected] "*" |
15 | [email protected] ";" | 15 | [email protected] ";" |
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | USE_ITEM@16..25 | 17 | [email protected] |
18 | [email protected] "use" | 18 | [email protected] "use" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | [email protected] |
@@ -24,7 +24,7 @@ [email protected] | |||
24 | [email protected] "}" | 24 | [email protected] "}" |
25 | [email protected] ";" | 25 | [email protected] ";" |
26 | [email protected] "\n" | 26 | [email protected] "\n" |
27 | USE_ITEM@26..33 | 27 | [email protected] |
28 | [email protected] "use" | 28 | [email protected] "use" |
29 | [email protected] " " | 29 | [email protected] " " |
30 | [email protected] | 30 | [email protected] |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] "}" | 33 | [email protected] "}" |
34 | [email protected] ";" | 34 | [email protected] ";" |
35 | [email protected] "\n" | 35 | [email protected] "\n" |
36 | USE_ITEM@34..45 | 36 | [email protected] |
37 | [email protected] "use" | 37 | [email protected] "use" |
38 | [email protected] " " | 38 | [email protected] " " |
39 | [email protected] | 39 | [email protected] |
@@ -45,7 +45,7 @@ [email protected] | |||
45 | [email protected] "*" | 45 | [email protected] "*" |
46 | [email protected] ";" | 46 | [email protected] ";" |
47 | [email protected] "\n" | 47 | [email protected] "\n" |
48 | USE_ITEM@46..58 | 48 | [email protected] |
49 | [email protected] "use" | 49 | [email protected] "use" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | [email protected] |
@@ -59,7 +59,7 @@ [email protected] | |||
59 | [email protected] "}" | 59 | [email protected] "}" |
60 | [email protected] ";" | 60 | [email protected] ";" |
61 | [email protected] "\n" | 61 | [email protected] "\n" |
62 | USE_ITEM@59..80 | 62 | [email protected] |
63 | [email protected] "use" | 63 | [email protected] "use" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | [email protected] | 65 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0015_use_tree.rast b/crates/ra_syntax/test_data/parser/ok/0015_use_tree.rast index 09e0050f0..d7e93f7eb 100644 --- a/crates/ra_syntax/test_data/parser/ok/0015_use_tree.rast +++ b/crates/ra_syntax/test_data/parser/ok/0015_use_tree.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | USE_ITEM@0..15 | 2 | [email protected] |
3 | [email protected] "use" | 3 | [email protected] "use" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,14 +8,14 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "foo" | 9 | [email protected] "foo" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | ALIAS@8..14 | 11 | RENAME@8..14 |
12 | [email protected] "as" | 12 | [email protected] "as" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "bar" | 15 | [email protected] "bar" |
16 | [email protected] ";" | 16 | [email protected] ";" |
17 | [email protected] "\n" | 17 | [email protected] "\n" |
18 | USE_ITEM@16..54 | 18 | [email protected] |
19 | [email protected] "use" | 19 | [email protected] "use" |
20 | [email protected] " " | 20 | [email protected] " " |
21 | [email protected] | 21 | [email protected] |
@@ -32,7 +32,7 @@ [email protected] | |||
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "a" | 33 | [email protected] "a" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | ALIAS@28..32 | 35 | RENAME@28..32 |
36 | [email protected] "as" | 36 | [email protected] "as" |
37 | [email protected] " " | 37 | [email protected] " " |
38 | [email protected] | 38 | [email protected] |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "foo" | 56 | [email protected] "foo" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | ALIAS@48..52 | 58 | RENAME@48..52 |
59 | [email protected] "as" | 59 | [email protected] "as" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] | 61 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast b/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast index 95656d19b..b15f41dd7 100644 --- a/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast +++ b/crates/ra_syntax/test_data/parser/ok/0016_struct_flavors.rast | |||
@@ -1,41 +1,41 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..9 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "A" | 6 | [email protected] "A" |
7 | [email protected] ";" | 7 | [email protected] ";" |
8 | [email protected] "\n" | 8 | [email protected] "\n" |
9 | STRUCT_DEF@10..21 | 9 | [email protected] |
10 | [email protected] "struct" | 10 | [email protected] "struct" |
11 | [email protected] " " | 11 | [email protected] " " |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "B" | 13 | [email protected] "B" |
14 | [email protected] " " | 14 | [email protected] " " |
15 | RECORD_FIELD_DEF_[email protected] | 15 | [email protected] |
16 | [email protected] "{" | 16 | [email protected] "{" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n" | 18 | [email protected] "\n" |
19 | STRUCT_DEF@22..33 | 19 | [email protected] |
20 | [email protected] "struct" | 20 | [email protected] "struct" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "C" | 23 | [email protected] "C" |
24 | TUPLE_FIELD_DEF_[email protected] | 24 | [email protected] |
25 | [email protected] "(" | 25 | [email protected] "(" |
26 | [email protected] ")" | 26 | [email protected] ")" |
27 | [email protected] ";" | 27 | [email protected] ";" |
28 | [email protected] "\n\n" | 28 | [email protected] "\n\n" |
29 | STRUCT_DEF@35..74 | 29 | [email protected] |
30 | [email protected] "struct" | 30 | [email protected] "struct" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] | 32 | [email protected] |
33 | [email protected] "D" | 33 | [email protected] "D" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | RECORD_FIELD_DEF_[email protected] | 35 | [email protected] |
36 | [email protected] "{" | 36 | [email protected] "{" |
37 | [email protected] "\n " | 37 | [email protected] "\n " |
38 | RECORD_FIELD_DEF@50..56 | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "a" | 40 | [email protected] "a" |
41 | [email protected] ":" | 41 | [email protected] ":" |
@@ -47,7 +47,7 @@ [email protected] | |||
47 | [email protected] "u32" | 47 | [email protected] "u32" |
48 | [email protected] "," | 48 | [email protected] "," |
49 | [email protected] "\n " | 49 | [email protected] "\n " |
50 | RECORD_FIELD_DEF@62..72 | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "pub" | 52 | [email protected] "pub" |
53 | [email protected] " " | 53 | [email protected] " " |
@@ -63,14 +63,14 @@ [email protected] | |||
63 | [email protected] "\n" | 63 | [email protected] "\n" |
64 | [email protected] "}" | 64 | [email protected] "}" |
65 | [email protected] "\n\n" | 65 | [email protected] "\n\n" |
66 | STRUCT_DEF@76..96 | 66 | [email protected] |
67 | [email protected] "struct" | 67 | [email protected] "struct" |
68 | [email protected] " " | 68 | [email protected] " " |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] "E" | 70 | [email protected] "E" |
71 | TUPLE_FIELD_DEF_[email protected] | 71 | [email protected] |
72 | [email protected] "(" | 72 | [email protected] "(" |
73 | TUPLE_FIELD_DEF@85..90 | 73 | [email protected] |
74 | [email protected] | 74 | [email protected] |
75 | [email protected] "pub" | 75 | [email protected] "pub" |
76 | [email protected] " " | 76 | [email protected] " " |
@@ -81,7 +81,7 @@ [email protected] | |||
81 | [email protected] "x" | 81 | [email protected] "x" |
82 | [email protected] "," | 82 | [email protected] "," |
83 | [email protected] " " | 83 | [email protected] " " |
84 | TUPLE_FIELD_DEF@92..93 | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] | 87 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast index 964cbf5dd..a3e091ad3 100644 --- a/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast +++ b/crates/ra_syntax/test_data/parser/ok/0017_attr_trailing_comma.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..22 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "#" | 4 | [email protected] "#" |
5 | [email protected] "[" | 5 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast b/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast index 451634e3f..630aa0708 100644 --- a/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast +++ b/crates/ra_syntax/test_data/parser/ok/0018_struct_type_params.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..13 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S1" | 6 | [email protected] "S1" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -12,20 +12,20 @@ [email protected] | |||
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | STRUCT_DEF@14..32 | 15 | [email protected] |
16 | [email protected] "struct" | 16 | [email protected] "struct" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "S2" | 19 | [email protected] "S2" |
20 | TYP[email protected] | 20 | GENERIC[email protected] |
21 | [email protected] "<" | 21 | [email protected] "<" |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "T" | 24 | [email protected] "T" |
25 | [email protected] ">" | 25 | [email protected] ">" |
26 | TUPLE_FIELD_DEF_[email protected] | 26 | [email protected] |
27 | [email protected] "(" | 27 | [email protected] "(" |
28 | TUPLE_FIELD_DEF@27..30 | 28 | [email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] | 31 | [email protected] |
@@ -34,22 +34,22 @@ [email protected] | |||
34 | [email protected] ")" | 34 | [email protected] ")" |
35 | [email protected] ";" | 35 | [email protected] ";" |
36 | [email protected] "\n" | 36 | [email protected] "\n" |
37 | STRUCT_DEF@33..56 | 37 | [email protected] |
38 | [email protected] "struct" | 38 | [email protected] "struct" |
39 | [email protected] " " | 39 | [email protected] " " |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "S3" | 41 | [email protected] "S3" |
42 | TYP[email protected] | 42 | GENERIC[email protected] |
43 | [email protected] "<" | 43 | [email protected] "<" |
44 | [email protected] | 44 | [email protected] |
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "T" | 46 | [email protected] "T" |
47 | [email protected] ">" | 47 | [email protected] ">" |
48 | [email protected] " " | 48 | [email protected] " " |
49 | RECORD_FIELD_DEF_[email protected] | 49 | [email protected] |
50 | [email protected] "{" | 50 | [email protected] "{" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | RECORD_FIELD_DEF@48..54 | 52 | [email protected] |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "u" | 54 | [email protected] "u" |
55 | [email protected] ":" | 55 | [email protected] ":" |
@@ -62,34 +62,34 @@ [email protected] | |||
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] "}" | 63 | [email protected] "}" |
64 | [email protected] "\n\n" | 64 | [email protected] "\n\n" |
65 | STRUCT_DEF@58..70 | 65 | [email protected] |
66 | [email protected] "struct" | 66 | [email protected] "struct" |
67 | [email protected] " " | 67 | [email protected] " " |
68 | [email protected] | 68 | [email protected] |
69 | [email protected] "S4" | 69 | [email protected] "S4" |
70 | TYP[email protected] | 70 | GENERIC[email protected] |
71 | [email protected] "<" | 71 | [email protected] "<" |
72 | [email protected] ">" | 72 | [email protected] ">" |
73 | [email protected] ";" | 73 | [email protected] ";" |
74 | [email protected] "\n" | 74 | [email protected] "\n" |
75 | STRUCT_DEF@71..85 | 75 | [email protected] |
76 | [email protected] "struct" | 76 | [email protected] "struct" |
77 | [email protected] " " | 77 | [email protected] " " |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] "S5" | 79 | [email protected] "S5" |
80 | TYP[email protected] | 80 | GENERIC[email protected] |
81 | [email protected] "<" | 81 | [email protected] "<" |
82 | [email protected] | 82 | [email protected] |
83 | [email protected] "\'a" | 83 | [email protected] "\'a" |
84 | [email protected] ">" | 84 | [email protected] ">" |
85 | [email protected] ";" | 85 | [email protected] ";" |
86 | [email protected] "\n" | 86 | [email protected] "\n" |
87 | STRUCT_DEF@86..101 | 87 | [email protected] |
88 | [email protected] "struct" | 88 | [email protected] "struct" |
89 | [email protected] " " | 89 | [email protected] " " |
90 | [email protected] | 90 | [email protected] |
91 | [email protected] "S6" | 91 | [email protected] "S6" |
92 | TYP[email protected] | 92 | GENERIC[email protected] |
93 | [email protected] "<" | 93 | [email protected] "<" |
94 | [email protected] | 94 | [email protected] |
95 | [email protected] "\'a" | 95 | [email protected] "\'a" |
@@ -97,12 +97,12 @@ [email protected] | |||
97 | [email protected] ">" | 97 | [email protected] ">" |
98 | [email protected] ";" | 98 | [email protected] ";" |
99 | [email protected] "\n" | 99 | [email protected] "\n" |
100 | STRUCT_DEF@102..120 | 100 | [email protected] |
101 | [email protected] "struct" | 101 | [email protected] "struct" |
102 | [email protected] " " | 102 | [email protected] " " |
103 | [email protected] | 103 | [email protected] |
104 | [email protected] "S7" | 104 | [email protected] "S7" |
105 | TYP[email protected] | 105 | GENERIC[email protected] |
106 | [email protected] "<" | 106 | [email protected] "<" |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] "\'a" | 108 | [email protected] "\'a" |
@@ -112,12 +112,12 @@ [email protected] | |||
112 | [email protected] ">" | 112 | [email protected] ">" |
113 | [email protected] ";" | 113 | [email protected] ";" |
114 | [email protected] "\n" | 114 | [email protected] "\n" |
115 | STRUCT_DEF@121..142 | 115 | [email protected] |
116 | [email protected] "struct" | 116 | [email protected] "struct" |
117 | [email protected] " " | 117 | [email protected] " " |
118 | [email protected] | 118 | [email protected] |
119 | [email protected] "S8" | 119 | [email protected] "S8" |
120 | TYP[email protected] | 120 | GENERIC[email protected] |
121 | [email protected] "<" | 121 | [email protected] "<" |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] "\'a" | 123 | [email protected] "\'a" |
@@ -130,12 +130,12 @@ [email protected] | |||
130 | [email protected] ">" | 130 | [email protected] ">" |
131 | [email protected] ";" | 131 | [email protected] ";" |
132 | [email protected] "\n" | 132 | [email protected] "\n" |
133 | STRUCT_DEF@143..166 | 133 | [email protected] |
134 | [email protected] "struct" | 134 | [email protected] "struct" |
135 | [email protected] " " | 135 | [email protected] " " |
136 | [email protected] | 136 | [email protected] |
137 | [email protected] "S9" | 137 | [email protected] "S9" |
138 | TYP[email protected] | 138 | GENERIC[email protected] |
139 | [email protected] "<" | 139 | [email protected] "<" |
140 | [email protected] | 140 | [email protected] |
141 | [email protected] "\'a" | 141 | [email protected] "\'a" |
@@ -149,12 +149,12 @@ [email protected] | |||
149 | [email protected] ">" | 149 | [email protected] ">" |
150 | [email protected] ";" | 150 | [email protected] ";" |
151 | [email protected] "\n" | 151 | [email protected] "\n" |
152 | STRUCT_DEF@167..183 | 152 | [email protected] |
153 | [email protected] "struct" | 153 | [email protected] "struct" |
154 | [email protected] " " | 154 | [email protected] " " |
155 | [email protected] | 155 | [email protected] |
156 | [email protected] "S10" | 156 | [email protected] "S10" |
157 | TYP[email protected] | 157 | GENERIC[email protected] |
158 | [email protected] "<" | 158 | [email protected] "<" |
159 | [email protected] | 159 | [email protected] |
160 | [email protected] "\'a" | 160 | [email protected] "\'a" |
@@ -162,12 +162,12 @@ [email protected] | |||
162 | [email protected] ">" | 162 | [email protected] ">" |
163 | [email protected] ";" | 163 | [email protected] ";" |
164 | [email protected] "\n" | 164 | [email protected] "\n" |
165 | STRUCT_DEF@184..203 | 165 | [email protected] |
166 | [email protected] "struct" | 166 | [email protected] "struct" |
167 | [email protected] " " | 167 | [email protected] " " |
168 | [email protected] | 168 | [email protected] |
169 | [email protected] "S11" | 169 | [email protected] "S11" |
170 | TYP[email protected] | 170 | GENERIC[email protected] |
171 | [email protected] "<" | 171 | [email protected] "<" |
172 | [email protected] | 172 | [email protected] |
173 | [email protected] "\'a" | 173 | [email protected] "\'a" |
@@ -178,12 +178,12 @@ [email protected] | |||
178 | [email protected] ">" | 178 | [email protected] ">" |
179 | [email protected] ";" | 179 | [email protected] ";" |
180 | [email protected] "\n" | 180 | [email protected] "\n" |
181 | STRUCT_DEF@204..233 | 181 | [email protected] |
182 | [email protected] "struct" | 182 | [email protected] "struct" |
183 | [email protected] " " | 183 | [email protected] " " |
184 | [email protected] | 184 | [email protected] |
185 | [email protected] "S12" | 185 | [email protected] "S12" |
186 | TYP[email protected] | 186 | GENERIC[email protected] |
187 | [email protected] "<" | 187 | [email protected] "<" |
188 | [email protected] | 188 | [email protected] |
189 | [email protected] "\'a" | 189 | [email protected] "\'a" |
@@ -202,12 +202,12 @@ [email protected] | |||
202 | [email protected] ">" | 202 | [email protected] ">" |
203 | [email protected] ";" | 203 | [email protected] ";" |
204 | [email protected] "\n\n" | 204 | [email protected] "\n\n" |
205 | STRUCT_DEF@235..249 | 205 | [email protected] |
206 | [email protected] "struct" | 206 | [email protected] "struct" |
207 | [email protected] " " | 207 | [email protected] " " |
208 | [email protected] | 208 | [email protected] |
209 | [email protected] "S13" | 209 | [email protected] "S13" |
210 | TYP[email protected] | 210 | GENERIC[email protected] |
211 | [email protected] "<" | 211 | [email protected] "<" |
212 | [email protected] | 212 | [email protected] |
213 | [email protected] | 213 | [email protected] |
@@ -215,12 +215,12 @@ [email protected] | |||
215 | [email protected] ">" | 215 | [email protected] ">" |
216 | [email protected] ";" | 216 | [email protected] ";" |
217 | [email protected] "\n" | 217 | [email protected] "\n" |
218 | STRUCT_DEF@250..267 | 218 | [email protected] |
219 | [email protected] "struct" | 219 | [email protected] "struct" |
220 | [email protected] " " | 220 | [email protected] " " |
221 | [email protected] | 221 | [email protected] |
222 | [email protected] "S14" | 222 | [email protected] "S14" |
223 | TYP[email protected] | 223 | GENERIC[email protected] |
224 | [email protected] "<" | 224 | [email protected] "<" |
225 | [email protected] | 225 | [email protected] |
226 | [email protected] | 226 | [email protected] |
@@ -233,12 +233,12 @@ [email protected] | |||
233 | [email protected] ">" | 233 | [email protected] ">" |
234 | [email protected] ";" | 234 | [email protected] ";" |
235 | [email protected] "\n" | 235 | [email protected] "\n" |
236 | STRUCT_DEF@268..289 | 236 | [email protected] |
237 | [email protected] "struct" | 237 | [email protected] "struct" |
238 | [email protected] " " | 238 | [email protected] " " |
239 | [email protected] | 239 | [email protected] |
240 | [email protected] "S15" | 240 | [email protected] "S15" |
241 | TYP[email protected] | 241 | GENERIC[email protected] |
242 | [email protected] "<" | 242 | [email protected] "<" |
243 | [email protected] | 243 | [email protected] |
244 | [email protected] "\'a" | 244 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0019_enums.rast b/crates/ra_syntax/test_data/parser/ok/0019_enums.rast index f767e9e19..c3df00814 100644 --- a/crates/ra_syntax/test_data/parser/ok/0019_enums.rast +++ b/crates/ra_syntax/test_data/parser/ok/0019_enums.rast | |||
@@ -1,78 +1,78 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | ENUM_DEF@0..11 | 2 | [email protected] |
3 | [email protected] "enum" | 3 | [email protected] "enum" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "E1" | 6 | [email protected] "E1" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | ENUM_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n" | 10 | [email protected] "\n" |
11 | [email protected] "}" | 11 | [email protected] "}" |
12 | [email protected] "\n\n" | 12 | [email protected] "\n\n" |
13 | ENUM_DEF@13..27 | 13 | [email protected] |
14 | [email protected] "enum" | 14 | [email protected] "enum" |
15 | [email protected] " " | 15 | [email protected] " " |
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "E2" | 17 | [email protected] "E2" |
18 | TYP[email protected] | 18 | GENERIC[email protected] |
19 | [email protected] "<" | 19 | [email protected] "<" |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "T" | 22 | [email protected] "T" |
23 | [email protected] ">" | 23 | [email protected] ">" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | ENUM_[email protected] | 25 | [email protected] |
26 | [email protected] "{" | 26 | [email protected] "{" |
27 | [email protected] "\n" | 27 | [email protected] "\n" |
28 | [email protected] "}" | 28 | [email protected] "}" |
29 | [email protected] "\n\n" | 29 | [email protected] "\n\n" |
30 | ENUM_DEF@29..46 | 30 | [email protected] |
31 | [email protected] "enum" | 31 | [email protected] "enum" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "E3" | 34 | [email protected] "E3" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | ENUM_[email protected] | 36 | [email protected] |
37 | [email protected] "{" | 37 | [email protected] "{" |
38 | [email protected] "\n " | 38 | [email protected] "\n " |
39 | ENUM_[email protected] | 39 | [email protected] |
40 | [email protected] | 40 | [email protected] |
41 | [email protected] "X" | 41 | [email protected] "X" |
42 | [email protected] "\n" | 42 | [email protected] "\n" |
43 | [email protected] "}" | 43 | [email protected] "}" |
44 | [email protected] "\n\n" | 44 | [email protected] "\n\n" |
45 | ENUM_DEF@48..66 | 45 | [email protected] |
46 | [email protected] "enum" | 46 | [email protected] "enum" |
47 | [email protected] " " | 47 | [email protected] " " |
48 | [email protected] | 48 | [email protected] |
49 | [email protected] "E4" | 49 | [email protected] "E4" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | ENUM_[email protected] | 51 | [email protected] |
52 | [email protected] "{" | 52 | [email protected] "{" |
53 | [email protected] "\n " | 53 | [email protected] "\n " |
54 | ENUM_[email protected] | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "X" | 56 | [email protected] "X" |
57 | [email protected] "," | 57 | [email protected] "," |
58 | [email protected] "\n" | 58 | [email protected] "\n" |
59 | [email protected] "}" | 59 | [email protected] "}" |
60 | [email protected] "\n\n" | 60 | [email protected] "\n\n" |
61 | ENUM_DEF@68..181 | 61 | [email protected] |
62 | [email protected] "enum" | 62 | [email protected] "enum" |
63 | [email protected] " " | 63 | [email protected] " " |
64 | [email protected] | 64 | [email protected] |
65 | [email protected] "E5" | 65 | [email protected] "E5" |
66 | [email protected] " " | 66 | [email protected] " " |
67 | ENUM_[email protected] | 67 | [email protected] |
68 | [email protected] "{" | 68 | [email protected] "{" |
69 | [email protected] "\n " | 69 | [email protected] "\n " |
70 | ENUM_[email protected] | 70 | [email protected] |
71 | [email protected] | 71 | [email protected] |
72 | [email protected] "A" | 72 | [email protected] "A" |
73 | [email protected] "," | 73 | [email protected] "," |
74 | [email protected] "\n " | 74 | [email protected] "\n " |
75 | ENUM_[email protected] | 75 | [email protected] |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] "B" | 77 | [email protected] "B" |
78 | [email protected] " " | 78 | [email protected] " " |
@@ -82,14 +82,14 @@ [email protected] | |||
82 | [email protected] "92" | 82 | [email protected] "92" |
83 | [email protected] "," | 83 | [email protected] "," |
84 | [email protected] "\n " | 84 | [email protected] "\n " |
85 | ENUM_[email protected] | 85 | [email protected] |
86 | [email protected] | 86 | [email protected] |
87 | [email protected] "C" | 87 | [email protected] "C" |
88 | [email protected] " " | 88 | [email protected] " " |
89 | RECORD_FIELD_DEF_[email protected] | 89 | [email protected] |
90 | [email protected] "{" | 90 | [email protected] "{" |
91 | [email protected] "\n " | 91 | [email protected] "\n " |
92 | RECORD_FIELD_DEF@113..119 | 92 | [email protected] |
93 | [email protected] | 93 | [email protected] |
94 | [email protected] "a" | 94 | [email protected] "a" |
95 | [email protected] ":" | 95 | [email protected] ":" |
@@ -101,7 +101,7 @@ [email protected] | |||
101 | [email protected] "u32" | 101 | [email protected] "u32" |
102 | [email protected] "," | 102 | [email protected] "," |
103 | [email protected] "\n " | 103 | [email protected] "\n " |
104 | RECORD_FIELD_DEF@129..139 | 104 | [email protected] |
105 | [email protected] | 105 | [email protected] |
106 | [email protected] "pub" | 106 | [email protected] "pub" |
107 | [email protected] " " | 107 | [email protected] " " |
@@ -119,21 +119,21 @@ [email protected] | |||
119 | [email protected] "}" | 119 | [email protected] "}" |
120 | [email protected] "," | 120 | [email protected] "," |
121 | [email protected] "\n " | 121 | [email protected] "\n " |
122 | ENUM_[email protected] | 122 | [email protected] |
123 | [email protected] | 123 | [email protected] |
124 | [email protected] "F" | 124 | [email protected] "F" |
125 | [email protected] " " | 125 | [email protected] " " |
126 | RECORD_FIELD_DEF_[email protected] | 126 | [email protected] |
127 | [email protected] "{" | 127 | [email protected] "{" |
128 | [email protected] "}" | 128 | [email protected] "}" |
129 | [email protected] "," | 129 | [email protected] "," |
130 | [email protected] "\n " | 130 | [email protected] "\n " |
131 | ENUM_[email protected] | 131 | [email protected] |
132 | [email protected] | 132 | [email protected] |
133 | [email protected] "D" | 133 | [email protected] "D" |
134 | TUPLE_FIELD_DEF_[email protected] | 134 | [email protected] |
135 | [email protected] "(" | 135 | [email protected] "(" |
136 | TUPLE_FIELD_DEF@164..167 | 136 | [email protected] |
137 | [email protected] | 137 | [email protected] |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] | 139 | [email protected] |
@@ -143,10 +143,10 @@ [email protected] | |||
143 | [email protected] ")" | 143 | [email protected] ")" |
144 | [email protected] "," | 144 | [email protected] "," |
145 | [email protected] "\n " | 145 | [email protected] "\n " |
146 | ENUM_[email protected] | 146 | [email protected] |
147 | [email protected] | 147 | [email protected] |
148 | [email protected] "E" | 148 | [email protected] "E" |
149 | TUPLE_FIELD_DEF_[email protected] | 149 | [email protected] |
150 | [email protected] "(" | 150 | [email protected] "(" |
151 | [email protected] ")" | 151 | [email protected] ")" |
152 | [email protected] "," | 152 | [email protected] "," |
diff --git a/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast b/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast index 4fb4baf56..9bdc50e1e 100644 --- a/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast +++ b/crates/ra_syntax/test_data/parser/ok/0020_type_param_bounds.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "A" | 6 | [email protected] "A" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -12,12 +12,12 @@ [email protected] | |||
12 | [email protected] ">" | 12 | [email protected] ">" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n" | 14 | [email protected] "\n" |
15 | STRUCT_DEF@13..26 | 15 | [email protected] |
16 | [email protected] "struct" | 16 | [email protected] "struct" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "B" | 19 | [email protected] "B" |
20 | TYP[email protected] | 20 | GENERIC[email protected] |
21 | [email protected] "<" | 21 | [email protected] "<" |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] | 23 | [email protected] |
@@ -27,12 +27,12 @@ [email protected] | |||
27 | [email protected] ">" | 27 | [email protected] ">" |
28 | [email protected] ";" | 28 | [email protected] ";" |
29 | [email protected] "\n" | 29 | [email protected] "\n" |
30 | STRUCT_DEF@27..43 | 30 | [email protected] |
31 | [email protected] "struct" | 31 | [email protected] "struct" |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "C" | 34 | [email protected] "C" |
35 | TYP[email protected] | 35 | GENERIC[email protected] |
36 | [email protected] "<" | 36 | [email protected] "<" |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
@@ -45,12 +45,12 @@ [email protected] | |||
45 | [email protected] ">" | 45 | [email protected] ">" |
46 | [email protected] ";" | 46 | [email protected] ";" |
47 | [email protected] "\n" | 47 | [email protected] "\n" |
48 | STRUCT_DEF@44..63 | 48 | [email protected] |
49 | [email protected] "struct" | 49 | [email protected] "struct" |
50 | [email protected] " " | 50 | [email protected] " " |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "D" | 52 | [email protected] "D" |
53 | TYP[email protected] | 53 | GENERIC[email protected] |
54 | [email protected] "<" | 54 | [email protected] "<" |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] | 56 | [email protected] |
@@ -66,12 +66,12 @@ [email protected] | |||
66 | [email protected] ">" | 66 | [email protected] ">" |
67 | [email protected] ";" | 67 | [email protected] ";" |
68 | [email protected] "\n" | 68 | [email protected] "\n" |
69 | STRUCT_DEF@64..86 | 69 | [email protected] |
70 | [email protected] "struct" | 70 | [email protected] "struct" |
71 | [email protected] " " | 71 | [email protected] " " |
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "E" | 73 | [email protected] "E" |
74 | TYP[email protected] | 74 | GENERIC[email protected] |
75 | [email protected] "<" | 75 | [email protected] "<" |
76 | [email protected] | 76 | [email protected] |
77 | [email protected] | 77 | [email protected] |
@@ -90,12 +90,12 @@ [email protected] | |||
90 | [email protected] ">" | 90 | [email protected] ">" |
91 | [email protected] ";" | 91 | [email protected] ";" |
92 | [email protected] "\n" | 92 | [email protected] "\n" |
93 | STRUCT_DEF@87..116 | 93 | [email protected] |
94 | [email protected] "struct" | 94 | [email protected] "struct" |
95 | [email protected] " " | 95 | [email protected] " " |
96 | [email protected] | 96 | [email protected] |
97 | [email protected] "F" | 97 | [email protected] "F" |
98 | TYP[email protected] | 98 | GENERIC[email protected] |
99 | [email protected] "<" | 99 | [email protected] "<" |
100 | [email protected] | 100 | [email protected] |
101 | [email protected] | 101 | [email protected] |
@@ -122,12 +122,12 @@ [email protected] | |||
122 | [email protected] ">" | 122 | [email protected] ">" |
123 | [email protected] ";" | 123 | [email protected] ";" |
124 | [email protected] "\n" | 124 | [email protected] "\n" |
125 | STRUCT_DEF@117..143 | 125 | [email protected] |
126 | [email protected] "struct" | 126 | [email protected] "struct" |
127 | [email protected] " " | 127 | [email protected] " " |
128 | [email protected] | 128 | [email protected] |
129 | [email protected] "G" | 129 | [email protected] "G" |
130 | TYP[email protected] | 130 | GENERIC[email protected] |
131 | [email protected] "<" | 131 | [email protected] "<" |
132 | [email protected] | 132 | [email protected] |
133 | [email protected] | 133 | [email protected] |
@@ -153,12 +153,12 @@ [email protected] | |||
153 | [email protected] ">" | 153 | [email protected] ">" |
154 | [email protected] ";" | 154 | [email protected] ";" |
155 | [email protected] "\n" | 155 | [email protected] "\n" |
156 | STRUCT_DEF@144..180 | 156 | [email protected] |
157 | [email protected] "struct" | 157 | [email protected] "struct" |
158 | [email protected] " " | 158 | [email protected] " " |
159 | [email protected] | 159 | [email protected] |
160 | [email protected] "H" | 160 | [email protected] "H" |
161 | TYP[email protected] | 161 | GENERIC[email protected] |
162 | [email protected] "<" | 162 | [email protected] "<" |
163 | [email protected] | 163 | [email protected] |
164 | [email protected] | 164 | [email protected] |
@@ -194,12 +194,12 @@ [email protected] | |||
194 | [email protected] ">" | 194 | [email protected] ">" |
195 | [email protected] ";" | 195 | [email protected] ";" |
196 | [email protected] "\n" | 196 | [email protected] "\n" |
197 | STRUCT_DEF@181..199 | 197 | [email protected] |
198 | [email protected] "struct" | 198 | [email protected] "struct" |
199 | [email protected] " " | 199 | [email protected] " " |
200 | [email protected] | 200 | [email protected] |
201 | [email protected] "I" | 201 | [email protected] "I" |
202 | TYP[email protected] | 202 | GENERIC[email protected] |
203 | [email protected] "<" | 203 | [email protected] "<" |
204 | [email protected] | 204 | [email protected] |
205 | [email protected] | 205 | [email protected] |
@@ -217,12 +217,12 @@ [email protected] | |||
217 | [email protected] ">" | 217 | [email protected] ">" |
218 | [email protected] ";" | 218 | [email protected] ";" |
219 | [email protected] "\n" | 219 | [email protected] "\n" |
220 | STRUCT_DEF@200..250 | 220 | [email protected] |
221 | [email protected] "struct" | 221 | [email protected] "struct" |
222 | [email protected] " " | 222 | [email protected] " " |
223 | [email protected] | 223 | [email protected] |
224 | [email protected] "K" | 224 | [email protected] "K" |
225 | TYP[email protected] | 225 | GENERIC[email protected] |
226 | [email protected] "<" | 226 | [email protected] "<" |
227 | [email protected] | 227 | [email protected] |
228 | [email protected] "\'a" | 228 | [email protected] "\'a" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rast b/crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rast index 873791f50..5524efaaf 100644 --- a/crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rast +++ b/crates/ra_syntax/test_data/parser/ok/0021_extern_fn.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..19 | 2 | [email protected] |
3 | [email protected] | 3 | [email protected] |
4 | [email protected] "extern" | 4 | [email protected] "extern" |
5 | [email protected] " " | 5 | [email protected] " " |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] "\n" | 16 | [email protected] "\n" |
17 | [email protected] "}" | 17 | [email protected] "}" |
18 | [email protected] "\n\n" | 18 | [email protected] "\n\n" |
19 | FN_DEF@21..44 | 19 | [email protected] |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "extern" | 21 | [email protected] "extern" |
22 | [email protected] " " | 22 | [email protected] " " |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] "\n" | 35 | [email protected] "\n" |
36 | [email protected] "}" | 36 | [email protected] "}" |
37 | [email protected] "\n\n" | 37 | [email protected] "\n\n" |
38 | FN_DEF@46..70 | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "extern" | 40 | [email protected] "extern" |
41 | [email protected] " " | 41 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0023_static_items.rast b/crates/ra_syntax/test_data/parser/ok/0023_static_items.rast index 97d90dc75..9374cf5e9 100644 --- a/crates/ra_syntax/test_data/parser/ok/0023_static_items.rast +++ b/crates/ra_syntax/test_data/parser/ok/0023_static_items.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STATIC_DEF@0..20 | 2 | [email protected] |
3 | [email protected] "static" | 3 | [email protected] "static" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -18,7 +18,7 @@ [email protected] | |||
18 | [email protected] "1" | 18 | [email protected] "1" |
19 | [email protected] ";" | 19 | [email protected] ";" |
20 | [email protected] "\n" | 20 | [email protected] "\n" |
21 | STATIC_DEF@21..46 | 21 | [email protected] |
22 | [email protected] "static" | 22 | [email protected] "static" |
23 | [email protected] " " | 23 | [email protected] " " |
24 | [email protected] "mut" | 24 | [email protected] "mut" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0024_const_item.rast b/crates/ra_syntax/test_data/parser/ok/0024_const_item.rast index d241f034c..dd1b9c9a0 100644 --- a/crates/ra_syntax/test_data/parser/ok/0024_const_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0024_const_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | CONST_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "const" | 3 | [email protected] "const" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] "_" | 5 | [email protected] "_" |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] "0" | 17 | [email protected] "0" |
18 | [email protected] ";" | 18 | [email protected] ";" |
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | CONST_DEF@18..38 | 20 | [email protected] |
21 | [email protected] "const" | 21 | [email protected] "const" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | [email protected] | 23 | [email protected] |
@@ -36,7 +36,7 @@ [email protected] | |||
36 | [email protected] "92" | 36 | [email protected] "92" |
37 | [email protected] ";" | 37 | [email protected] ";" |
38 | [email protected] "\n" | 38 | [email protected] "\n" |
39 | CONST_DEF@39..63 | 39 | [email protected] |
40 | [email protected] "const" | 40 | [email protected] "const" |
41 | [email protected] " " | 41 | [email protected] " " |
42 | [email protected] "mut" | 42 | [email protected] "mut" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rast b/crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rast index 5701f566e..bb6527b48 100644 --- a/crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rast +++ b/crates/ra_syntax/test_data/parser/ok/0025_extern_fn_in_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,7 +11,7 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@16..32 | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
16 | [email protected] "extern" | 16 | [email protected] "extern" |
17 | [email protected] " " | 17 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rast b/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rast index b029d8692..5bcf54deb 100644 --- a/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rast +++ b/crates/ra_syntax/test_data/parser/ok/0026_const_fn_in_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..33 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,7 +11,7 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@16..31 | 14 | [email protected] |
15 | [email protected] "const" | 15 | [email protected] "const" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] "fn" | 17 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast b/crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast index 299bbd136..a7cc12295 100644 --- a/crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast +++ b/crates/ra_syntax/test_data/parser/ok/0027_unsafe_fn_in_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..52 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -11,7 +11,7 @@ [email protected] | |||
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@16..32 | 14 | [email protected] |
15 | [email protected] "unsafe" | 15 | [email protected] "unsafe" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] "fn" | 17 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast b/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast index de3c4b786..3271a4695 100644 --- a/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast +++ b/crates/ra_syntax/test_data/parser/ok/0028_operator_binding_power.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..247 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "x" | 19 | [email protected] "x" |
20 | [email protected] " " | 20 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast index dc47d68a6..a732f11c4 100644 --- a/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast +++ b/crates/ra_syntax/test_data/parser/ok/0029_range_forms.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..152 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -67,7 +67,7 @@ [email protected] | |||
67 | [email protected] | 67 | [email protected] |
68 | [email protected] "let" | 68 | [email protected] "let" |
69 | [email protected] " " | 69 | [email protected] " " |
70 | BIN[email protected] | 70 | IDENT[email protected] |
71 | [email protected] | 71 | [email protected] |
72 | [email protected] "x" | 72 | [email protected] "x" |
73 | [email protected] " " | 73 | [email protected] " " |
@@ -135,7 +135,7 @@ [email protected] | |||
135 | [email protected] | 135 | [email protected] |
136 | [email protected] "let" | 136 | [email protected] "let" |
137 | [email protected] " " | 137 | [email protected] " " |
138 | BIN[email protected] | 138 | IDENT[email protected] |
139 | [email protected] | 139 | [email protected] |
140 | [email protected] "x" | 140 | [email protected] "x" |
141 | [email protected] " " | 141 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rast b/crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rast index 86c3b46c4..80f7f5942 100644 --- a/crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rast +++ b/crates/ra_syntax/test_data/parser/ok/0030_string_suffixes.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..111 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | PLACEHOLDE[email protected] | 17 | WILDCARD[email protected] |
18 | [email protected] "_" | 18 | [email protected] "_" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] "=" | 20 | [email protected] "=" |
@@ -26,7 +26,7 @@ [email protected] | |||
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "let" | 27 | [email protected] "let" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | PLACEHOLDE[email protected] | 29 | WILDCARD[email protected] |
30 | [email protected] "_" | 30 | [email protected] "_" |
31 | [email protected] " " | 31 | [email protected] " " |
32 | [email protected] "=" | 32 | [email protected] "=" |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] "let" | 39 | [email protected] "let" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | PLACEHOLDE[email protected] | 41 | WILDCARD[email protected] |
42 | [email protected] "_" | 42 | [email protected] "_" |
43 | [email protected] " " | 43 | [email protected] " " |
44 | [email protected] "=" | 44 | [email protected] "=" |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "let" | 51 | [email protected] "let" |
52 | [email protected] " " | 52 | [email protected] " " |
53 | PLACEHOLDE[email protected] | 53 | WILDCARD[email protected] |
54 | [email protected] "_" | 54 | [email protected] "_" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | [email protected] "=" | 56 | [email protected] "=" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0030_traits.rast b/crates/ra_syntax/test_data/parser/ok/0030_traits.rast index 0aadc11a4..d07c6683a 100644 --- a/crates/ra_syntax/test_data/parser/ok/0030_traits.rast +++ b/crates/ra_syntax/test_data/parser/ok/0030_traits.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..36 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "Runnable" | 6 | [email protected] "Runnable" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | ASSOC_[email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | FN_DEF@21..34 | 11 | [email protected] |
12 | [email protected] "fn" | 12 | [email protected] "fn" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -20,16 +20,16 @@ [email protected] | |||
20 | [email protected] "\n" | 20 | [email protected] "\n" |
21 | [email protected] "}" | 21 | [email protected] "}" |
22 | [email protected] "\n\n" | 22 | [email protected] "\n\n" |
23 | TRAIT_DEF@38..95 | 23 | [email protected] |
24 | [email protected] "trait" | 24 | [email protected] "trait" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | [email protected] | 26 | [email protected] |
27 | [email protected] "TraitWithExpr" | 27 | [email protected] "TraitWithExpr" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] | 29 | ASSOC_[email protected] |
30 | [email protected] "{" | 30 | [email protected] "{" |
31 | [email protected] "\n " | 31 | [email protected] "\n " |
32 | FN_DEF@64..93 | 32 | [email protected] |
33 | [email protected] "fn" | 33 | [email protected] "fn" |
34 | [email protected] " " | 34 | [email protected] " " |
35 | [email protected] | 35 | [email protected] |
@@ -37,7 +37,7 @@ [email protected] | |||
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "(" | 38 | [email protected] "(" |
39 | [email protected] | 39 | [email protected] |
40 | BIN[email protected] | 40 | IDENT[email protected] |
41 | [email protected] | 41 | [email protected] |
42 | [email protected] "x" | 42 | [email protected] "x" |
43 | [email protected] ":" | 43 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0031_extern.rast b/crates/ra_syntax/test_data/parser/ok/0031_extern.rast index ea285f52f..8150d445f 100644 --- a/crates/ra_syntax/test_data/parser/ok/0031_extern.rast +++ b/crates/ra_syntax/test_data/parser/ok/0031_extern.rast | |||
@@ -6,7 +6,7 @@ [email protected] | |||
6 | [email protected] | 6 | [email protected] |
7 | [email protected] "{" | 7 | [email protected] "{" |
8 | [email protected] "\n " | 8 | [email protected] "\n " |
9 | FN_DEF@13..87 | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "pub" | 11 | [email protected] "pub" |
12 | [email protected] " " | 12 | [email protected] " " |
@@ -17,7 +17,7 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "(" | 18 | [email protected] "(" |
19 | [email protected] | 19 | [email protected] |
20 | BIN[email protected] | 20 | IDENT[email protected] |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] "domain" | 22 | [email protected] "domain" |
23 | [email protected] ":" | 23 | [email protected] ":" |
@@ -31,7 +31,7 @@ [email protected] | |||
31 | [email protected] "," | 31 | [email protected] "," |
32 | [email protected] " " | 32 | [email protected] " " |
33 | [email protected] | 33 | [email protected] |
34 | BIN[email protected] | 34 | IDENT[email protected] |
35 | [email protected] | 35 | [email protected] |
36 | [email protected] "ty" | 36 | [email protected] "ty" |
37 | [email protected] ":" | 37 | [email protected] ":" |
@@ -45,7 +45,7 @@ [email protected] | |||
45 | [email protected] "," | 45 | [email protected] "," |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
48 | BIN[email protected] | 48 | IDENT[email protected] |
49 | [email protected] | 49 | [email protected] |
50 | [email protected] "protocol" | 50 | [email protected] "protocol" |
51 | [email protected] ":" | 51 | [email protected] ":" |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] "c_int" | 69 | [email protected] "c_int" |
70 | [email protected] ";" | 70 | [email protected] ";" |
71 | [email protected] "\n " | 71 | [email protected] "\n " |
72 | FN_DEF@92..167 | 72 | [email protected] |
73 | [email protected] | 73 | [email protected] |
74 | [email protected] "pub" | 74 | [email protected] "pub" |
75 | [email protected] " " | 75 | [email protected] " " |
@@ -80,7 +80,7 @@ [email protected] | |||
80 | [email protected] | 80 | [email protected] |
81 | [email protected] "(" | 81 | [email protected] "(" |
82 | [email protected] | 82 | [email protected] |
83 | BIN[email protected] | 83 | IDENT[email protected] |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] "fd" | 85 | [email protected] "fd" |
86 | [email protected] ":" | 86 | [email protected] ":" |
@@ -94,12 +94,12 @@ [email protected] | |||
94 | [email protected] "," | 94 | [email protected] "," |
95 | [email protected] " " | 95 | [email protected] " " |
96 | [email protected] | 96 | [email protected] |
97 | BIN[email protected] | 97 | IDENT[email protected] |
98 | [email protected] | 98 | [email protected] |
99 | [email protected] "addr" | 99 | [email protected] "addr" |
100 | [email protected] ":" | 100 | [email protected] ":" |
101 | [email protected] " " | 101 | [email protected] " " |
102 | POINTE[email protected] | 102 | [email protected] |
103 | [email protected] "*" | 103 | [email protected] "*" |
104 | [email protected] "const" | 104 | [email protected] "const" |
105 | [email protected] " " | 105 | [email protected] " " |
@@ -111,7 +111,7 @@ [email protected] | |||
111 | [email protected] "," | 111 | [email protected] "," |
112 | [email protected] " " | 112 | [email protected] " " |
113 | [email protected] | 113 | [email protected] |
114 | BIN[email protected] | 114 | IDENT[email protected] |
115 | [email protected] | 115 | [email protected] |
116 | [email protected] "len" | 116 | [email protected] "len" |
117 | [email protected] ":" | 117 | [email protected] ":" |
@@ -134,7 +134,7 @@ [email protected] | |||
134 | [email protected] "c_int" | 134 | [email protected] "c_int" |
135 | [email protected] ";" | 135 | [email protected] ";" |
136 | [email protected] "\n " | 136 | [email protected] "\n " |
137 | FN_DEF@172..276 | 137 | [email protected] |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] "pub" | 139 | [email protected] "pub" |
140 | [email protected] " " | 140 | [email protected] " " |
@@ -145,7 +145,7 @@ [email protected] | |||
145 | [email protected] | 145 | [email protected] |
146 | [email protected] "(" | 146 | [email protected] "(" |
147 | [email protected] | 147 | [email protected] |
148 | BIN[email protected] | 148 | IDENT[email protected] |
149 | [email protected] | 149 | [email protected] |
150 | [email protected] "socket" | 150 | [email protected] "socket" |
151 | [email protected] ":" | 151 | [email protected] ":" |
@@ -159,12 +159,12 @@ [email protected] | |||
159 | [email protected] "," | 159 | [email protected] "," |
160 | [email protected] " " | 160 | [email protected] " " |
161 | [email protected] | 161 | [email protected] |
162 | BIN[email protected] | 162 | IDENT[email protected] |
163 | [email protected] | 163 | [email protected] |
164 | [email protected] "address" | 164 | [email protected] "address" |
165 | [email protected] ":" | 165 | [email protected] ":" |
166 | [email protected] " " | 166 | [email protected] " " |
167 | POINTE[email protected] | 167 | [email protected] |
168 | [email protected] "*" | 168 | [email protected] "*" |
169 | [email protected] "const" | 169 | [email protected] "const" |
170 | [email protected] " " | 170 | [email protected] " " |
@@ -176,7 +176,7 @@ [email protected] | |||
176 | [email protected] "," | 176 | [email protected] "," |
177 | [email protected] "\n " | 177 | [email protected] "\n " |
178 | [email protected] | 178 | [email protected] |
179 | BIN[email protected] | 179 | IDENT[email protected] |
180 | [email protected] | 180 | [email protected] |
181 | [email protected] "len" | 181 | [email protected] "len" |
182 | [email protected] ":" | 182 | [email protected] ":" |
@@ -199,7 +199,7 @@ [email protected] | |||
199 | [email protected] "c_int" | 199 | [email protected] "c_int" |
200 | [email protected] ";" | 200 | [email protected] ";" |
201 | [email protected] "\n " | 201 | [email protected] "\n " |
202 | FN_DEF@281..341 | 202 | [email protected] |
203 | [email protected] | 203 | [email protected] |
204 | [email protected] "pub" | 204 | [email protected] "pub" |
205 | [email protected] " " | 205 | [email protected] " " |
@@ -210,7 +210,7 @@ [email protected] | |||
210 | [email protected] | 210 | [email protected] |
211 | [email protected] "(" | 211 | [email protected] "(" |
212 | [email protected] | 212 | [email protected] |
213 | BIN[email protected] | 213 | IDENT[email protected] |
214 | [email protected] | 214 | [email protected] |
215 | [email protected] "socket" | 215 | [email protected] "socket" |
216 | [email protected] ":" | 216 | [email protected] ":" |
@@ -224,7 +224,7 @@ [email protected] | |||
224 | [email protected] "," | 224 | [email protected] "," |
225 | [email protected] " " | 225 | [email protected] " " |
226 | [email protected] | 226 | [email protected] |
227 | BIN[email protected] | 227 | IDENT[email protected] |
228 | [email protected] | 228 | [email protected] |
229 | [email protected] "backlog" | 229 | [email protected] "backlog" |
230 | [email protected] ":" | 230 | [email protected] ":" |
@@ -248,7 +248,7 @@ [email protected] | |||
248 | [email protected] "c_int" | 248 | [email protected] "c_int" |
249 | [email protected] ";" | 249 | [email protected] ";" |
250 | [email protected] "\n " | 250 | [email protected] "\n " |
251 | FN_DEF@346..469 | 251 | [email protected] |
252 | [email protected] | 252 | [email protected] |
253 | [email protected] "pub" | 253 | [email protected] "pub" |
254 | [email protected] " " | 254 | [email protected] " " |
@@ -259,7 +259,7 @@ [email protected] | |||
259 | [email protected] | 259 | [email protected] |
260 | [email protected] "(" | 260 | [email protected] "(" |
261 | [email protected] | 261 | [email protected] |
262 | BIN[email protected] | 262 | IDENT[email protected] |
263 | [email protected] | 263 | [email protected] |
264 | [email protected] "socket" | 264 | [email protected] "socket" |
265 | [email protected] ":" | 265 | [email protected] ":" |
@@ -273,12 +273,12 @@ [email protected] | |||
273 | [email protected] "," | 273 | [email protected] "," |
274 | [email protected] " " | 274 | [email protected] " " |
275 | [email protected] | 275 | [email protected] |
276 | BIN[email protected] | 276 | IDENT[email protected] |
277 | [email protected] | 277 | [email protected] |
278 | [email protected] "address" | 278 | [email protected] "address" |
279 | [email protected] ":" | 279 | [email protected] ":" |
280 | [email protected] " " | 280 | [email protected] " " |
281 | POINTE[email protected] | 281 | [email protected] |
282 | [email protected] "*" | 282 | [email protected] "*" |
283 | [email protected] "mut" | 283 | [email protected] "mut" |
284 | [email protected] " " | 284 | [email protected] " " |
@@ -290,12 +290,12 @@ [email protected] | |||
290 | [email protected] "," | 290 | [email protected] "," |
291 | [email protected] "\n " | 291 | [email protected] "\n " |
292 | [email protected] | 292 | [email protected] |
293 | BIN[email protected] | 293 | IDENT[email protected] |
294 | [email protected] | 294 | [email protected] |
295 | [email protected] "address_len" | 295 | [email protected] "address_len" |
296 | [email protected] ":" | 296 | [email protected] ":" |
297 | [email protected] " " | 297 | [email protected] " " |
298 | POINTE[email protected] | 298 | [email protected] |
299 | [email protected] "*" | 299 | [email protected] "*" |
300 | [email protected] "mut" | 300 | [email protected] "mut" |
301 | [email protected] " " | 301 | [email protected] " " |
@@ -317,7 +317,7 @@ [email protected] | |||
317 | [email protected] "c_int" | 317 | [email protected] "c_int" |
318 | [email protected] ";" | 318 | [email protected] ";" |
319 | [email protected] "\n " | 319 | [email protected] "\n " |
320 | FN_DEF@474..691 | 320 | [email protected] |
321 | [email protected] | 321 | [email protected] |
322 | [email protected] "pub" | 322 | [email protected] "pub" |
323 | [email protected] " " | 323 | [email protected] " " |
@@ -328,7 +328,7 @@ [email protected] | |||
328 | [email protected] | 328 | [email protected] |
329 | [email protected] "(" | 329 | [email protected] "(" |
330 | [email protected] | 330 | [email protected] |
331 | BIN[email protected] | 331 | IDENT[email protected] |
332 | [email protected] | 332 | [email protected] |
333 | [email protected] "sockfd" | 333 | [email protected] "sockfd" |
334 | [email protected] ":" | 334 | [email protected] ":" |
@@ -342,7 +342,7 @@ [email protected] | |||
342 | [email protected] "," | 342 | [email protected] "," |
343 | [email protected] "\n " | 343 | [email protected] "\n " |
344 | [email protected] | 344 | [email protected] |
345 | BIN[email protected] | 345 | IDENT[email protected] |
346 | [email protected] | 346 | [email protected] |
347 | [email protected] "level" | 347 | [email protected] "level" |
348 | [email protected] ":" | 348 | [email protected] ":" |
@@ -356,7 +356,7 @@ [email protected] | |||
356 | [email protected] "," | 356 | [email protected] "," |
357 | [email protected] "\n " | 357 | [email protected] "\n " |
358 | [email protected] | 358 | [email protected] |
359 | BIN[email protected] | 359 | IDENT[email protected] |
360 | [email protected] | 360 | [email protected] |
361 | [email protected] "optname" | 361 | [email protected] "optname" |
362 | [email protected] ":" | 362 | [email protected] ":" |
@@ -370,12 +370,12 @@ [email protected] | |||
370 | [email protected] "," | 370 | [email protected] "," |
371 | [email protected] "\n " | 371 | [email protected] "\n " |
372 | [email protected] | 372 | [email protected] |
373 | BIN[email protected] | 373 | IDENT[email protected] |
374 | [email protected] | 374 | [email protected] |
375 | [email protected] "optval" | 375 | [email protected] "optval" |
376 | [email protected] ":" | 376 | [email protected] ":" |
377 | [email protected] " " | 377 | [email protected] " " |
378 | POINTE[email protected] | 378 | [email protected] |
379 | [email protected] "*" | 379 | [email protected] "*" |
380 | [email protected] "mut" | 380 | [email protected] "mut" |
381 | [email protected] " " | 381 | [email protected] " " |
@@ -388,12 +388,12 @@ [email protected] | |||
388 | [email protected] "," | 388 | [email protected] "," |
389 | [email protected] "\n " | 389 | [email protected] "\n " |
390 | [email protected] | 390 | [email protected] |
391 | BIN[email protected] | 391 | IDENT[email protected] |
392 | [email protected] | 392 | [email protected] |
393 | [email protected] "optlen" | 393 | [email protected] "optlen" |
394 | [email protected] ":" | 394 | [email protected] ":" |
395 | [email protected] " " | 395 | [email protected] " " |
396 | POINTE[email protected] | 396 | [email protected] |
397 | [email protected] "*" | 397 | [email protected] "*" |
398 | [email protected] "mut" | 398 | [email protected] "mut" |
399 | [email protected] " " | 399 | [email protected] " " |
@@ -416,7 +416,7 @@ [email protected] | |||
416 | [email protected] "c_int" | 416 | [email protected] "c_int" |
417 | [email protected] ";" | 417 | [email protected] ";" |
418 | [email protected] "\n " | 418 | [email protected] "\n " |
419 | FN_DEF@696..864 | 419 | [email protected] |
420 | [email protected] | 420 | [email protected] |
421 | [email protected] "pub" | 421 | [email protected] "pub" |
422 | [email protected] " " | 422 | [email protected] " " |
@@ -427,7 +427,7 @@ [email protected] | |||
427 | [email protected] | 427 | [email protected] |
428 | [email protected] "(" | 428 | [email protected] "(" |
429 | [email protected] | 429 | [email protected] |
430 | BIN[email protected] | 430 | IDENT[email protected] |
431 | [email protected] | 431 | [email protected] |
432 | [email protected] "socket" | 432 | [email protected] "socket" |
433 | [email protected] ":" | 433 | [email protected] ":" |
@@ -441,7 +441,7 @@ [email protected] | |||
441 | [email protected] "," | 441 | [email protected] "," |
442 | [email protected] " " | 442 | [email protected] " " |
443 | [email protected] | 443 | [email protected] |
444 | BIN[email protected] | 444 | IDENT[email protected] |
445 | [email protected] | 445 | [email protected] |
446 | [email protected] "level" | 446 | [email protected] "level" |
447 | [email protected] ":" | 447 | [email protected] ":" |
@@ -455,7 +455,7 @@ [email protected] | |||
455 | [email protected] "," | 455 | [email protected] "," |
456 | [email protected] " " | 456 | [email protected] " " |
457 | [email protected] | 457 | [email protected] |
458 | BIN[email protected] | 458 | IDENT[email protected] |
459 | [email protected] | 459 | [email protected] |
460 | [email protected] "name" | 460 | [email protected] "name" |
461 | [email protected] ":" | 461 | [email protected] ":" |
@@ -469,12 +469,12 @@ [email protected] | |||
469 | [email protected] "," | 469 | [email protected] "," |
470 | [email protected] "\n " | 470 | [email protected] "\n " |
471 | [email protected] | 471 | [email protected] |
472 | BIN[email protected] | 472 | IDENT[email protected] |
473 | [email protected] | 473 | [email protected] |
474 | [email protected] "value" | 474 | [email protected] "value" |
475 | [email protected] ":" | 475 | [email protected] ":" |
476 | [email protected] " " | 476 | [email protected] " " |
477 | POINTE[email protected] | 477 | [email protected] |
478 | [email protected] "*" | 478 | [email protected] "*" |
479 | [email protected] "const" | 479 | [email protected] "const" |
480 | [email protected] " " | 480 | [email protected] " " |
@@ -487,7 +487,7 @@ [email protected] | |||
487 | [email protected] "," | 487 | [email protected] "," |
488 | [email protected] "\n " | 488 | [email protected] "\n " |
489 | [email protected] | 489 | [email protected] |
490 | BIN[email protected] | 490 | IDENT[email protected] |
491 | [email protected] | 491 | [email protected] |
492 | [email protected] "option_len" | 492 | [email protected] "option_len" |
493 | [email protected] ":" | 493 | [email protected] ":" |
@@ -510,7 +510,7 @@ [email protected] | |||
510 | [email protected] "c_int" | 510 | [email protected] "c_int" |
511 | [email protected] ";" | 511 | [email protected] ";" |
512 | [email protected] "\n " | 512 | [email protected] "\n " |
513 | FN_DEF@869..992 | 513 | [email protected] |
514 | [email protected] | 514 | [email protected] |
515 | [email protected] "pub" | 515 | [email protected] "pub" |
516 | [email protected] " " | 516 | [email protected] " " |
@@ -521,7 +521,7 @@ [email protected] | |||
521 | [email protected] | 521 | [email protected] |
522 | [email protected] "(" | 522 | [email protected] "(" |
523 | [email protected] | 523 | [email protected] |
524 | BIN[email protected] | 524 | IDENT[email protected] |
525 | [email protected] | 525 | [email protected] |
526 | [email protected] "socket" | 526 | [email protected] "socket" |
527 | [email protected] ":" | 527 | [email protected] ":" |
@@ -535,12 +535,12 @@ [email protected] | |||
535 | [email protected] "," | 535 | [email protected] "," |
536 | [email protected] " " | 536 | [email protected] " " |
537 | [email protected] | 537 | [email protected] |
538 | BIN[email protected] | 538 | IDENT[email protected] |
539 | [email protected] | 539 | [email protected] |
540 | [email protected] "address" | 540 | [email protected] "address" |
541 | [email protected] ":" | 541 | [email protected] ":" |
542 | [email protected] " " | 542 | [email protected] " " |
543 | POINTE[email protected] | 543 | [email protected] |
544 | [email protected] "*" | 544 | [email protected] "*" |
545 | [email protected] "mut" | 545 | [email protected] "mut" |
546 | [email protected] " " | 546 | [email protected] " " |
@@ -552,12 +552,12 @@ [email protected] | |||
552 | [email protected] "," | 552 | [email protected] "," |
553 | [email protected] "\n " | 553 | [email protected] "\n " |
554 | [email protected] | 554 | [email protected] |
555 | BIN[email protected] | 555 | IDENT[email protected] |
556 | [email protected] | 556 | [email protected] |
557 | [email protected] "address_len" | 557 | [email protected] "address_len" |
558 | [email protected] ":" | 558 | [email protected] ":" |
559 | [email protected] " " | 559 | [email protected] " " |
560 | POINTE[email protected] | 560 | [email protected] |
561 | [email protected] "*" | 561 | [email protected] "*" |
562 | [email protected] "mut" | 562 | [email protected] "mut" |
563 | [email protected] " " | 563 | [email protected] " " |
@@ -579,7 +579,7 @@ [email protected] | |||
579 | [email protected] "c_int" | 579 | [email protected] "c_int" |
580 | [email protected] ";" | 580 | [email protected] ";" |
581 | [email protected] "\n " | 581 | [email protected] "\n " |
582 | FN_DEF@997..1173 | 582 | [email protected] |
583 | [email protected] | 583 | [email protected] |
584 | [email protected] "pub" | 584 | [email protected] "pub" |
585 | [email protected] " " | 585 | [email protected] " " |
@@ -590,7 +590,7 @@ [email protected] | |||
590 | [email protected] | 590 | [email protected] |
591 | [email protected] "(" | 591 | [email protected] "(" |
592 | [email protected] | 592 | [email protected] |
593 | BIN[email protected] | 593 | IDENT[email protected] |
594 | [email protected] | 594 | [email protected] |
595 | [email protected] "socket" | 595 | [email protected] "socket" |
596 | [email protected] ":" | 596 | [email protected] ":" |
@@ -604,12 +604,12 @@ [email protected] | |||
604 | [email protected] "," | 604 | [email protected] "," |
605 | [email protected] " " | 605 | [email protected] " " |
606 | [email protected] | 606 | [email protected] |
607 | BIN[email protected] | 607 | IDENT[email protected] |
608 | [email protected] | 608 | [email protected] |
609 | [email protected] "buf" | 609 | [email protected] "buf" |
610 | [email protected] ":" | 610 | [email protected] ":" |
611 | [email protected] " " | 611 | [email protected] " " |
612 | POINTE[email protected] | 612 | [email protected] |
613 | [email protected] "*" | 613 | [email protected] "*" |
614 | [email protected] "const" | 614 | [email protected] "const" |
615 | [email protected] " " | 615 | [email protected] " " |
@@ -622,7 +622,7 @@ [email protected] | |||
622 | [email protected] "," | 622 | [email protected] "," |
623 | [email protected] " " | 623 | [email protected] " " |
624 | [email protected] | 624 | [email protected] |
625 | BIN[email protected] | 625 | IDENT[email protected] |
626 | [email protected] | 626 | [email protected] |
627 | [email protected] "len" | 627 | [email protected] "len" |
628 | [email protected] ":" | 628 | [email protected] ":" |
@@ -636,7 +636,7 @@ [email protected] | |||
636 | [email protected] "," | 636 | [email protected] "," |
637 | [email protected] "\n " | 637 | [email protected] "\n " |
638 | [email protected] | 638 | [email protected] |
639 | BIN[email protected] | 639 | IDENT[email protected] |
640 | [email protected] | 640 | [email protected] |
641 | [email protected] "flags" | 641 | [email protected] "flags" |
642 | [email protected] ":" | 642 | [email protected] ":" |
@@ -650,12 +650,12 @@ [email protected] | |||
650 | [email protected] "," | 650 | [email protected] "," |
651 | [email protected] " " | 651 | [email protected] " " |
652 | [email protected] | 652 | [email protected] |
653 | BIN[email protected] | 653 | IDENT[email protected] |
654 | [email protected] | 654 | [email protected] |
655 | [email protected] "addr" | 655 | [email protected] "addr" |
656 | [email protected] ":" | 656 | [email protected] ":" |
657 | [email protected] " " | 657 | [email protected] " " |
658 | POINTE[email protected] | 658 | [email protected] |
659 | [email protected] "*" | 659 | [email protected] "*" |
660 | [email protected] "const" | 660 | [email protected] "const" |
661 | [email protected] " " | 661 | [email protected] " " |
@@ -667,7 +667,7 @@ [email protected] | |||
667 | [email protected] "," | 667 | [email protected] "," |
668 | [email protected] "\n " | 668 | [email protected] "\n " |
669 | [email protected] | 669 | [email protected] |
670 | BIN[email protected] | 670 | IDENT[email protected] |
671 | [email protected] | 671 | [email protected] |
672 | [email protected] "addrlen" | 672 | [email protected] "addrlen" |
673 | [email protected] ":" | 673 | [email protected] ":" |
@@ -690,7 +690,7 @@ [email protected] | |||
690 | [email protected] "ssize_t" | 690 | [email protected] "ssize_t" |
691 | [email protected] ";" | 691 | [email protected] ";" |
692 | [email protected] "\n " | 692 | [email protected] "\n " |
693 | FN_DEF@1178..1289 | 693 | [email protected] |
694 | [email protected] | 694 | [email protected] |
695 | [email protected] "pub" | 695 | [email protected] "pub" |
696 | [email protected] " " | 696 | [email protected] " " |
@@ -701,7 +701,7 @@ [email protected] | |||
701 | [email protected] | 701 | [email protected] |
702 | [email protected] "(" | 702 | [email protected] "(" |
703 | [email protected] | 703 | [email protected] |
704 | BIN[email protected] | 704 | IDENT[email protected] |
705 | [email protected] | 705 | [email protected] |
706 | [email protected] "socket" | 706 | [email protected] "socket" |
707 | [email protected] ":" | 707 | [email protected] ":" |
@@ -715,12 +715,12 @@ [email protected] | |||
715 | [email protected] "," | 715 | [email protected] "," |
716 | [email protected] " " | 716 | [email protected] " " |
717 | [email protected] | 717 | [email protected] |
718 | BIN[email protected] | 718 | IDENT[email protected] |
719 | [email protected] | 719 | [email protected] |
720 | [email protected] "buf" | 720 | [email protected] "buf" |
721 | [email protected] ":" | 721 | [email protected] ":" |
722 | [email protected] " " | 722 | [email protected] " " |
723 | POINTE[email protected] | 723 | [email protected] |
724 | [email protected] "*" | 724 | [email protected] "*" |
725 | [email protected] "const" | 725 | [email protected] "const" |
726 | [email protected] " " | 726 | [email protected] " " |
@@ -733,7 +733,7 @@ [email protected] | |||
733 | [email protected] "," | 733 | [email protected] "," |
734 | [email protected] " " | 734 | [email protected] " " |
735 | [email protected] | 735 | [email protected] |
736 | BIN[email protected] | 736 | IDENT[email protected] |
737 | [email protected] | 737 | [email protected] |
738 | [email protected] "len" | 738 | [email protected] "len" |
739 | [email protected] ":" | 739 | [email protected] ":" |
@@ -747,7 +747,7 @@ [email protected] | |||
747 | [email protected] "," | 747 | [email protected] "," |
748 | [email protected] "\n " | 748 | [email protected] "\n " |
749 | [email protected] | 749 | [email protected] |
750 | BIN[email protected] | 750 | IDENT[email protected] |
751 | [email protected] | 751 | [email protected] |
752 | [email protected] "flags" | 752 | [email protected] "flags" |
753 | [email protected] ":" | 753 | [email protected] ":" |
@@ -771,7 +771,7 @@ [email protected] | |||
771 | [email protected] "ssize_t" | 771 | [email protected] "ssize_t" |
772 | [email protected] ";" | 772 | [email protected] ";" |
773 | [email protected] "\n " | 773 | [email protected] "\n " |
774 | FN_DEF@1294..1481 | 774 | [email protected] |
775 | [email protected] | 775 | [email protected] |
776 | [email protected] "pub" | 776 | [email protected] "pub" |
777 | [email protected] " " | 777 | [email protected] " " |
@@ -782,7 +782,7 @@ [email protected] | |||
782 | [email protected] | 782 | [email protected] |
783 | [email protected] "(" | 783 | [email protected] "(" |
784 | [email protected] | 784 | [email protected] |
785 | BIN[email protected] | 785 | IDENT[email protected] |
786 | [email protected] | 786 | [email protected] |
787 | [email protected] "socket" | 787 | [email protected] "socket" |
788 | [email protected] ":" | 788 | [email protected] ":" |
@@ -796,12 +796,12 @@ [email protected] | |||
796 | [email protected] "," | 796 | [email protected] "," |
797 | [email protected] " " | 797 | [email protected] " " |
798 | [email protected] | 798 | [email protected] |
799 | BIN[email protected] | 799 | IDENT[email protected] |
800 | [email protected] | 800 | [email protected] |
801 | [email protected] "buf" | 801 | [email protected] "buf" |
802 | [email protected] ":" | 802 | [email protected] ":" |
803 | [email protected] " " | 803 | [email protected] " " |
804 | POINTE[email protected] | 804 | [email protected] |
805 | [email protected] "*" | 805 | [email protected] "*" |
806 | [email protected] "mut" | 806 | [email protected] "mut" |
807 | [email protected] " " | 807 | [email protected] " " |
@@ -814,7 +814,7 @@ [email protected] | |||
814 | [email protected] "," | 814 | [email protected] "," |
815 | [email protected] " " | 815 | [email protected] " " |
816 | [email protected] | 816 | [email protected] |
817 | BIN[email protected] | 817 | IDENT[email protected] |
818 | [email protected] | 818 | [email protected] |
819 | [email protected] "len" | 819 | [email protected] "len" |
820 | [email protected] ":" | 820 | [email protected] ":" |
@@ -828,7 +828,7 @@ [email protected] | |||
828 | [email protected] "," | 828 | [email protected] "," |
829 | [email protected] "\n " | 829 | [email protected] "\n " |
830 | [email protected] | 830 | [email protected] |
831 | BIN[email protected] | 831 | IDENT[email protected] |
832 | [email protected] | 832 | [email protected] |
833 | [email protected] "flags" | 833 | [email protected] "flags" |
834 | [email protected] ":" | 834 | [email protected] ":" |
@@ -842,12 +842,12 @@ [email protected] | |||
842 | [email protected] "," | 842 | [email protected] "," |
843 | [email protected] " " | 843 | [email protected] " " |
844 | [email protected] | 844 | [email protected] |
845 | BIN[email protected] | 845 | IDENT[email protected] |
846 | [email protected] | 846 | [email protected] |
847 | [email protected] "addr" | 847 | [email protected] "addr" |
848 | [email protected] ":" | 848 | [email protected] ":" |
849 | [email protected] " " | 849 | [email protected] " " |
850 | POINTE[email protected] | 850 | [email protected] |
851 | [email protected] "*" | 851 | [email protected] "*" |
852 | [email protected] "mut" | 852 | [email protected] "mut" |
853 | [email protected] " " | 853 | [email protected] " " |
@@ -860,12 +860,12 @@ [email protected] | |||
860 | [email protected] "," | 860 | [email protected] "," |
861 | [email protected] "\n " | 861 | [email protected] "\n " |
862 | [email protected] | 862 | [email protected] |
863 | BIN[email protected] | 863 | IDENT[email protected] |
864 | [email protected] | 864 | [email protected] |
865 | [email protected] "addrlen" | 865 | [email protected] "addrlen" |
866 | [email protected] ":" | 866 | [email protected] ":" |
867 | [email protected] " " | 867 | [email protected] " " |
868 | POINTE[email protected] | 868 | [email protected] |
869 | [email protected] "*" | 869 | [email protected] "*" |
870 | [email protected] "mut" | 870 | [email protected] "mut" |
871 | [email protected] " " | 871 | [email protected] " " |
@@ -888,7 +888,7 @@ [email protected] | |||
888 | [email protected] "ssize_t" | 888 | [email protected] "ssize_t" |
889 | [email protected] ";" | 889 | [email protected] ";" |
890 | [email protected] "\n " | 890 | [email protected] "\n " |
891 | FN_DEF@1486..1595 | 891 | [email protected] |
892 | [email protected] | 892 | [email protected] |
893 | [email protected] "pub" | 893 | [email protected] "pub" |
894 | [email protected] " " | 894 | [email protected] " " |
@@ -899,7 +899,7 @@ [email protected] | |||
899 | [email protected] | 899 | [email protected] |
900 | [email protected] "(" | 900 | [email protected] "(" |
901 | [email protected] | 901 | [email protected] |
902 | BIN[email protected] | 902 | IDENT[email protected] |
903 | [email protected] | 903 | [email protected] |
904 | [email protected] "socket" | 904 | [email protected] "socket" |
905 | [email protected] ":" | 905 | [email protected] ":" |
@@ -913,12 +913,12 @@ [email protected] | |||
913 | [email protected] "," | 913 | [email protected] "," |
914 | [email protected] " " | 914 | [email protected] " " |
915 | [email protected] | 915 | [email protected] |
916 | BIN[email protected] | 916 | IDENT[email protected] |
917 | [email protected] | 917 | [email protected] |
918 | [email protected] "buf" | 918 | [email protected] "buf" |
919 | [email protected] ":" | 919 | [email protected] ":" |
920 | [email protected] " " | 920 | [email protected] " " |
921 | POINTE[email protected] | 921 | [email protected] |
922 | [email protected] "*" | 922 | [email protected] "*" |
923 | [email protected] "mut" | 923 | [email protected] "mut" |
924 | [email protected] " " | 924 | [email protected] " " |
@@ -931,7 +931,7 @@ [email protected] | |||
931 | [email protected] "," | 931 | [email protected] "," |
932 | [email protected] " " | 932 | [email protected] " " |
933 | [email protected] | 933 | [email protected] |
934 | BIN[email protected] | 934 | IDENT[email protected] |
935 | [email protected] | 935 | [email protected] |
936 | [email protected] "len" | 936 | [email protected] "len" |
937 | [email protected] ":" | 937 | [email protected] ":" |
@@ -945,7 +945,7 @@ [email protected] | |||
945 | [email protected] "," | 945 | [email protected] "," |
946 | [email protected] "\n " | 946 | [email protected] "\n " |
947 | [email protected] | 947 | [email protected] |
948 | BIN[email protected] | 948 | IDENT[email protected] |
949 | [email protected] | 949 | [email protected] |
950 | [email protected] "flags" | 950 | [email protected] "flags" |
951 | [email protected] ":" | 951 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast b/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast index 8d76c4e0b..d59548f21 100644 --- a/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast +++ b/crates/ra_syntax/test_data/parser/ok/0032_where_for.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..115 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "test_serialization" | 6 | [email protected] "test_serialization" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -38,7 +38,7 @@ [email protected] | |||
38 | [email protected] | 38 | [email protected] |
39 | [email protected] | 39 | [email protected] |
40 | [email protected] "for" | 40 | [email protected] "for" |
41 | TYP[email protected] | 41 | GENERIC[email protected] |
42 | [email protected] "<" | 42 | [email protected] "<" |
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "\'de" | 44 | [email protected] "\'de" |
@@ -49,7 +49,7 @@ [email protected] | |||
49 | [email protected] | 49 | [email protected] |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] "Deserialize" | 51 | [email protected] "Deserialize" |
52 | TYP[email protected] | 52 | GENERIC[email protected] |
53 | [email protected] "<" | 53 | [email protected] "<" |
54 | [email protected] | 54 | [email protected] |
55 | [email protected] "\'de" | 55 | [email protected] "\'de" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast b/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast index 13b730ded..88800ca7a 100644 --- a/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast +++ b/crates/ra_syntax/test_data/parser/ok/0033_label_break.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..505 | 2 | [email protected] |
3 | [email protected] "// format with label ..." | 3 | [email protected] "// format with label ..." |
4 | [email protected] "\n" | 4 | [email protected] "\n" |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
@@ -127,7 +127,7 @@ [email protected] | |||
127 | [email protected] | 127 | [email protected] |
128 | [email protected] "let" | 128 | [email protected] "let" |
129 | [email protected] " " | 129 | [email protected] " " |
130 | BIN[email protected] | 130 | IDENT[email protected] |
131 | [email protected] | 131 | [email protected] |
132 | [email protected] "result" | 132 | [email protected] "result" |
133 | [email protected] " " | 133 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast b/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast index 21874ae3a..5ad8c570d 100644 --- a/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast +++ b/crates/ra_syntax/test_data/parser/ok/0034_crate_path_in_call.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..61 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast index eb59d6e17..7c61b5006 100644 --- a/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast +++ b/crates/ra_syntax/test_data/parser/ok/0035_weird_exprs.rast | |||
@@ -78,7 +78,7 @@ [email protected] | |||
78 | [email protected] "\"128\"" | 78 | [email protected] "\"128\"" |
79 | [email protected] "]" | 79 | [email protected] "]" |
80 | [email protected] "\n\n" | 80 | [email protected] "\n\n" |
81 | USE_ITEM@407..427 | 81 | [email protected] |
82 | [email protected] "use" | 82 | [email protected] "use" |
83 | [email protected] " " | 83 | [email protected] " " |
84 | [email protected] | 84 | [email protected] |
@@ -98,7 +98,7 @@ [email protected] | |||
98 | [email protected] "Cell" | 98 | [email protected] "Cell" |
99 | [email protected] ";" | 99 | [email protected] ";" |
100 | [email protected] "\n" | 100 | [email protected] "\n" |
101 | USE_ITEM@428..447 | 101 | [email protected] |
102 | [email protected] "use" | 102 | [email protected] "use" |
103 | [email protected] " " | 103 | [email protected] " " |
104 | [email protected] | 104 | [email protected] |
@@ -120,7 +120,7 @@ [email protected] | |||
120 | [email protected] "\n\n" | 120 | [email protected] "\n\n" |
121 | [email protected] "// Just a grab bag of ..." | 121 | [email protected] "// Just a grab bag of ..." |
122 | [email protected] "\n\n" | 122 | [email protected] "\n\n" |
123 | FN_DEF@520..572 | 123 | [email protected] |
124 | [email protected] "fn" | 124 | [email protected] "fn" |
125 | [email protected] " " | 125 | [email protected] " " |
126 | [email protected] | 126 | [email protected] |
@@ -144,7 +144,7 @@ [email protected] | |||
144 | [email protected] | 144 | [email protected] |
145 | [email protected] "let" | 145 | [email protected] "let" |
146 | [email protected] " " | 146 | [email protected] " " |
147 | BIN[email protected] | 147 | IDENT[email protected] |
148 | [email protected] | 148 | [email protected] |
149 | [email protected] "_x" | 149 | [email protected] "_x" |
150 | [email protected] ":" | 150 | [email protected] ":" |
@@ -166,7 +166,7 @@ [email protected] | |||
166 | [email protected] " " | 166 | [email protected] " " |
167 | [email protected] "}" | 167 | [email protected] "}" |
168 | [email protected] "\n\n" | 168 | [email protected] "\n\n" |
169 | FN_DEF@574..624 | 169 | [email protected] |
170 | [email protected] "fn" | 170 | [email protected] "fn" |
171 | [email protected] " " | 171 | [email protected] " " |
172 | [email protected] | 172 | [email protected] |
@@ -178,7 +178,7 @@ [email protected] | |||
178 | [email protected] | 178 | [email protected] |
179 | [email protected] "{" | 179 | [email protected] "{" |
180 | [email protected] "\n " | 180 | [email protected] "\n " |
181 | FN_DEF@591..607 | 181 | [email protected] |
182 | [email protected] "fn" | 182 | [email protected] "fn" |
183 | [email protected] " " | 183 | [email protected] " " |
184 | [email protected] | 184 | [email protected] |
@@ -186,7 +186,7 @@ [email protected] | |||
186 | [email protected] | 186 | [email protected] |
187 | [email protected] "(" | 187 | [email protected] "(" |
188 | [email protected] | 188 | [email protected] |
189 | BIN[email protected] | 189 | IDENT[email protected] |
190 | [email protected] | 190 | [email protected] |
191 | [email protected] "_x" | 191 | [email protected] "_x" |
192 | [email protected] ":" | 192 | [email protected] ":" |
@@ -217,7 +217,7 @@ [email protected] | |||
217 | [email protected] "\n" | 217 | [email protected] "\n" |
218 | [email protected] "}" | 218 | [email protected] "}" |
219 | [email protected] "\n\n" | 219 | [email protected] "\n\n" |
220 | FN_DEF@626..816 | 220 | [email protected] |
221 | [email protected] "fn" | 221 | [email protected] "fn" |
222 | [email protected] " " | 222 | [email protected] " " |
223 | [email protected] | 223 | [email protected] |
@@ -229,7 +229,7 @@ [email protected] | |||
229 | [email protected] | 229 | [email protected] |
230 | [email protected] "{" | 230 | [email protected] "{" |
231 | [email protected] "\n " | 231 | [email protected] "\n " |
232 | FN_DEF@642..720 | 232 | [email protected] |
233 | [email protected] "fn" | 233 | [email protected] "fn" |
234 | [email protected] " " | 234 | [email protected] " " |
235 | [email protected] | 235 | [email protected] |
@@ -237,19 +237,19 @@ [email protected] | |||
237 | [email protected] | 237 | [email protected] |
238 | [email protected] "(" | 238 | [email protected] "(" |
239 | [email protected] | 239 | [email protected] |
240 | BIN[email protected] | 240 | IDENT[email protected] |
241 | [email protected] | 241 | [email protected] |
242 | [email protected] "x" | 242 | [email protected] "x" |
243 | [email protected] ":" | 243 | [email protected] ":" |
244 | [email protected] " " | 244 | [email protected] " " |
245 | REFERENCE[email protected] | 245 | [email protected] |
246 | [email protected] "&" | 246 | [email protected] "&" |
247 | [email protected] | 247 | [email protected] |
248 | [email protected] | 248 | [email protected] |
249 | [email protected] | 249 | [email protected] |
250 | [email protected] | 250 | [email protected] |
251 | [email protected] "Cell" | 251 | [email protected] "Cell" |
252 | TYP[email protected] | 252 | GENERIC[email protected] |
253 | [email protected] "<" | 253 | [email protected] "<" |
254 | [email protected] | 254 | [email protected] |
255 | [email protected] | 255 | [email protected] |
@@ -314,7 +314,7 @@ [email protected] | |||
314 | [email protected] | 314 | [email protected] |
315 | [email protected] "let" | 315 | [email protected] "let" |
316 | [email protected] " " | 316 | [email protected] " " |
317 | BIN[email protected] | 317 | IDENT[email protected] |
318 | [email protected] | 318 | [email protected] |
319 | [email protected] "i" | 319 | [email protected] "i" |
320 | [email protected] " " | 320 | [email protected] " " |
@@ -343,7 +343,7 @@ [email protected] | |||
343 | [email protected] | 343 | [email protected] |
344 | [email protected] "let" | 344 | [email protected] "let" |
345 | [email protected] " " | 345 | [email protected] " " |
346 | BIN[email protected] | 346 | IDENT[email protected] |
347 | [email protected] | 347 | [email protected] |
348 | [email protected] "dont" | 348 | [email protected] "dont" |
349 | [email protected] " " | 349 | [email protected] " " |
@@ -351,7 +351,7 @@ [email protected] | |||
351 | [email protected] " " | 351 | [email protected] " " |
352 | [email protected] | 352 | [email protected] |
353 | [email protected] "{" | 353 | [email protected] "{" |
354 | LAMBDA[email protected] | 354 | CLOSURE[email protected] |
355 | [email protected] | 355 | [email protected] |
356 | [email protected] "|" | 356 | [email protected] "|" |
357 | [email protected] "|" | 357 | [email protected] "|" |
@@ -407,7 +407,7 @@ [email protected] | |||
407 | [email protected] "\n" | 407 | [email protected] "\n" |
408 | [email protected] "}" | 408 | [email protected] "}" |
409 | [email protected] "\n\n" | 409 | [email protected] "\n\n" |
410 | FN_DEF@818..1322 | 410 | [email protected] |
411 | [email protected] "fn" | 411 | [email protected] "fn" |
412 | [email protected] " " | 412 | [email protected] " " |
413 | [email protected] | 413 | [email protected] |
@@ -506,7 +506,7 @@ [email protected] | |||
506 | [email protected] "}" | 506 | [email protected] "}" |
507 | [email protected] "\n " | 507 | [email protected] "\n " |
508 | [email protected] | 508 | [email protected] |
509 | PLACEHOLDE[email protected] | 509 | WILDCARD[email protected] |
510 | [email protected] "_" | 510 | [email protected] "_" |
511 | [email protected] " " | 511 | [email protected] " " |
512 | [email protected] "=>" | 512 | [email protected] "=>" |
@@ -572,7 +572,7 @@ [email protected] | |||
572 | [email protected] "\n" | 572 | [email protected] "\n" |
573 | [email protected] "}" | 573 | [email protected] "}" |
574 | [email protected] "\n\n" | 574 | [email protected] "\n\n" |
575 | FN_DEF@1324..1539 | 575 | [email protected] |
576 | [email protected] "fn" | 576 | [email protected] "fn" |
577 | [email protected] " " | 577 | [email protected] " " |
578 | [email protected] | 578 | [email protected] |
@@ -587,7 +587,7 @@ [email protected] | |||
587 | [email protected] | 587 | [email protected] |
588 | [email protected] "let" | 588 | [email protected] "let" |
589 | [email protected] " " | 589 | [email protected] " " |
590 | BIN[email protected] | 590 | IDENT[email protected] |
591 | [email protected] "mut" | 591 | [email protected] "mut" |
592 | [email protected] " " | 592 | [email protected] " " |
593 | [email protected] | 593 | [email protected] |
@@ -604,7 +604,7 @@ [email protected] | |||
604 | [email protected] | 604 | [email protected] |
605 | [email protected] "let" | 605 | [email protected] "let" |
606 | [email protected] " " | 606 | [email protected] " " |
607 | BIN[email protected] | 607 | IDENT[email protected] |
608 | [email protected] "mut" | 608 | [email protected] "mut" |
609 | [email protected] " " | 609 | [email protected] " " |
610 | [email protected] | 610 | [email protected] |
@@ -649,7 +649,7 @@ [email protected] | |||
649 | [email protected] | 649 | [email protected] |
650 | [email protected] "let" | 650 | [email protected] "let" |
651 | [email protected] " " | 651 | [email protected] " " |
652 | BIN[email protected] | 652 | IDENT[email protected] |
653 | [email protected] "mut" | 653 | [email protected] "mut" |
654 | [email protected] " " | 654 | [email protected] " " |
655 | [email protected] | 655 | [email protected] |
@@ -694,7 +694,7 @@ [email protected] | |||
694 | [email protected] | 694 | [email protected] |
695 | [email protected] "let" | 695 | [email protected] "let" |
696 | [email protected] " " | 696 | [email protected] " " |
697 | BIN[email protected] | 697 | IDENT[email protected] |
698 | [email protected] | 698 | [email protected] |
699 | [email protected] "_a" | 699 | [email protected] "_a" |
700 | [email protected] " " | 700 | [email protected] " " |
@@ -737,7 +737,7 @@ [email protected] | |||
737 | [email protected] | 737 | [email protected] |
738 | [email protected] "let" | 738 | [email protected] "let" |
739 | [email protected] " " | 739 | [email protected] " " |
740 | BIN[email protected] | 740 | IDENT[email protected] |
741 | [email protected] | 741 | [email protected] |
742 | [email protected] "_b" | 742 | [email protected] "_b" |
743 | [email protected] " " | 743 | [email protected] " " |
@@ -809,7 +809,7 @@ [email protected] | |||
809 | [email protected] "\n" | 809 | [email protected] "\n" |
810 | [email protected] "}" | 810 | [email protected] "}" |
811 | [email protected] "\n\n" | 811 | [email protected] "\n\n" |
812 | FN_DEF@1541..1741 | 812 | [email protected] |
813 | [email protected] "fn" | 813 | [email protected] "fn" |
814 | [email protected] " " | 814 | [email protected] " " |
815 | [email protected] | 815 | [email protected] |
@@ -830,7 +830,7 @@ [email protected] | |||
830 | [email protected] | 830 | [email protected] |
831 | [email protected] "{" | 831 | [email protected] "{" |
832 | [email protected] "\n " | 832 | [email protected] "\n " |
833 | FN_DEF@1575..1598 | 833 | [email protected] |
834 | [email protected] "fn" | 834 | [email protected] "fn" |
835 | [email protected] " " | 835 | [email protected] " " |
836 | [email protected] | 836 | [email protected] |
@@ -859,7 +859,7 @@ [email protected] | |||
859 | [email protected] | 859 | [email protected] |
860 | [email protected] "let" | 860 | [email protected] "let" |
861 | [email protected] " " | 861 | [email protected] " " |
862 | BIN[email protected] | 862 | IDENT[email protected] |
863 | [email protected] | 863 | [email protected] |
864 | [email protected] "_a" | 864 | [email protected] "_a" |
865 | [email protected] " " | 865 | [email protected] " " |
@@ -906,7 +906,7 @@ [email protected] | |||
906 | [email protected] | 906 | [email protected] |
907 | [email protected] "let" | 907 | [email protected] "let" |
908 | [email protected] " " | 908 | [email protected] " " |
909 | BIN[email protected] | 909 | IDENT[email protected] |
910 | [email protected] | 910 | [email protected] |
911 | [email protected] "_c" | 911 | [email protected] "_c" |
912 | [email protected] " " | 912 | [email protected] " " |
@@ -943,7 +943,7 @@ [email protected] | |||
943 | [email protected] | 943 | [email protected] |
944 | [email protected] "let" | 944 | [email protected] "let" |
945 | [email protected] " " | 945 | [email protected] " " |
946 | BIN[email protected] | 946 | IDENT[email protected] |
947 | [email protected] | 947 | [email protected] |
948 | [email protected] "_b" | 948 | [email protected] "_b" |
949 | [email protected] ":" | 949 | [email protected] ":" |
@@ -988,7 +988,7 @@ [email protected] | |||
988 | [email protected] "\n" | 988 | [email protected] "\n" |
989 | [email protected] "}" | 989 | [email protected] "}" |
990 | [email protected] "\n\n" | 990 | [email protected] "\n\n" |
991 | FN_DEF@1743..1904 | 991 | [email protected] |
992 | [email protected] "fn" | 992 | [email protected] "fn" |
993 | [email protected] " " | 993 | [email protected] " " |
994 | [email protected] | 994 | [email protected] |
@@ -1024,7 +1024,7 @@ [email protected] | |||
1024 | [email protected] | 1024 | [email protected] |
1025 | [email protected] "let" | 1025 | [email protected] "let" |
1026 | [email protected] " " | 1026 | [email protected] " " |
1027 | BIN[email protected] | 1027 | IDENT[email protected] |
1028 | [email protected] "mut" | 1028 | [email protected] "mut" |
1029 | [email protected] " " | 1029 | [email protected] " " |
1030 | [email protected] | 1030 | [email protected] |
@@ -1102,7 +1102,7 @@ [email protected] | |||
1102 | [email protected] "," | 1102 | [email protected] "," |
1103 | [email protected] " " | 1103 | [email protected] " " |
1104 | [email protected] | 1104 | [email protected] |
1105 | PLACEHOLDE[email protected] | 1105 | WILDCARD[email protected] |
1106 | [email protected] "_" | 1106 | [email protected] "_" |
1107 | [email protected] " " | 1107 | [email protected] " " |
1108 | [email protected] "=>" | 1108 | [email protected] "=>" |
@@ -1131,7 +1131,7 @@ [email protected] | |||
1131 | [email protected] "\n" | 1131 | [email protected] "\n" |
1132 | [email protected] "}" | 1132 | [email protected] "}" |
1133 | [email protected] "\n\n" | 1133 | [email protected] "\n\n" |
1134 | FN_DEF@1906..1960 | 1134 | [email protected] |
1135 | [email protected] "fn" | 1135 | [email protected] "fn" |
1136 | [email protected] " " | 1136 | [email protected] " " |
1137 | [email protected] | 1137 | [email protected] |
@@ -1146,7 +1146,7 @@ [email protected] | |||
1146 | [email protected] | 1146 | [email protected] |
1147 | [email protected] "let" | 1147 | [email protected] "let" |
1148 | [email protected] " " | 1148 | [email protected] " " |
1149 | BIN[email protected] | 1149 | IDENT[email protected] |
1150 | [email protected] | 1150 | [email protected] |
1151 | [email protected] "_evil" | 1151 | [email protected] "_evil" |
1152 | [email protected] " " | 1152 | [email protected] " " |
@@ -1166,7 +1166,7 @@ [email protected] | |||
1166 | [email protected] " " | 1166 | [email protected] " " |
1167 | [email protected] "}" | 1167 | [email protected] "}" |
1168 | [email protected] "\n\n" | 1168 | [email protected] "\n\n" |
1169 | FN_DEF@1962..2198 | 1169 | [email protected] |
1170 | [email protected] "fn" | 1170 | [email protected] "fn" |
1171 | [email protected] " " | 1171 | [email protected] " " |
1172 | [email protected] | 1172 | [email protected] |
@@ -1284,7 +1284,7 @@ [email protected] | |||
1284 | [email protected] "\n" | 1284 | [email protected] "\n" |
1285 | [email protected] "}" | 1285 | [email protected] "}" |
1286 | [email protected] "\n\n" | 1286 | [email protected] "\n\n" |
1287 | FN_DEF@2200..2693 | 1287 | [email protected] |
1288 | [email protected] "fn" | 1288 | [email protected] "fn" |
1289 | [email protected] " " | 1289 | [email protected] " " |
1290 | [email protected] | 1290 | [email protected] |
@@ -1292,7 +1292,7 @@ [email protected] | |||
1292 | [email protected] | 1292 | [email protected] |
1293 | [email protected] "(" | 1293 | [email protected] "(" |
1294 | [email protected] | 1294 | [email protected] |
1295 | BIN[email protected] | 1295 | IDENT[email protected] |
1296 | [email protected] | 1296 | [email protected] |
1297 | [email protected] "u8" | 1297 | [email protected] "u8" |
1298 | [email protected] ":" | 1298 | [email protected] ":" |
@@ -1468,7 +1468,7 @@ [email protected] | |||
1468 | [email protected] "\n" | 1468 | [email protected] "\n" |
1469 | [email protected] "}" | 1469 | [email protected] "}" |
1470 | [email protected] "\n\n" | 1470 | [email protected] "\n\n" |
1471 | FN_DEF@2695..2832 | 1471 | [email protected] |
1472 | [email protected] "fn" | 1472 | [email protected] "fn" |
1473 | [email protected] " " | 1473 | [email protected] " " |
1474 | [email protected] | 1474 | [email protected] |
@@ -1548,7 +1548,7 @@ [email protected] | |||
1548 | [email protected] "\n" | 1548 | [email protected] "\n" |
1549 | [email protected] "}" | 1549 | [email protected] "}" |
1550 | [email protected] "\n\n" | 1550 | [email protected] "\n\n" |
1551 | FN_DEF@2834..2906 | 1551 | [email protected] |
1552 | [email protected] "fn" | 1552 | [email protected] "fn" |
1553 | [email protected] " " | 1553 | [email protected] " " |
1554 | [email protected] | 1554 | [email protected] |
@@ -1560,26 +1560,26 @@ [email protected] | |||
1560 | [email protected] | 1560 | [email protected] |
1561 | [email protected] "{" | 1561 | [email protected] "{" |
1562 | [email protected] "\n " | 1562 | [email protected] "\n " |
1563 | UNION_DEF@2851..2904 | 1563 | [email protected] |
1564 | [email protected] "union" | 1564 | [email protected] "union" |
1565 | [email protected] " " | 1565 | [email protected] " " |
1566 | [email protected] | 1566 | [email protected] |
1567 | [email protected] "union" | 1567 | [email protected] "union" |
1568 | TYP[email protected] | 1568 | GENERIC[email protected] |
1569 | [email protected] "<" | 1569 | [email protected] "<" |
1570 | [email protected] | 1570 | [email protected] |
1571 | [email protected] "\'union" | 1571 | [email protected] "\'union" |
1572 | [email protected] ">" | 1572 | [email protected] ">" |
1573 | [email protected] " " | 1573 | [email protected] " " |
1574 | RECORD_FIELD_DEF_[email protected] | 1574 | [email protected] |
1575 | [email protected] "{" | 1575 | [email protected] "{" |
1576 | [email protected] " " | 1576 | [email protected] " " |
1577 | RECORD_FIELD_DEF@2873..2901 | 1577 | [email protected] |
1578 | [email protected] | 1578 | [email protected] |
1579 | [email protected] "union" | 1579 | [email protected] "union" |
1580 | [email protected] ":" | 1580 | [email protected] ":" |
1581 | [email protected] " " | 1581 | [email protected] " " |
1582 | REFERENCE[email protected] | 1582 | [email protected] |
1583 | [email protected] "&" | 1583 | [email protected] "&" |
1584 | [email protected] "\'union" | 1584 | [email protected] "\'union" |
1585 | [email protected] " " | 1585 | [email protected] " " |
@@ -1588,7 +1588,7 @@ [email protected] | |||
1588 | [email protected] | 1588 | [email protected] |
1589 | [email protected] | 1589 | [email protected] |
1590 | [email protected] "union" | 1590 | [email protected] "union" |
1591 | TYP[email protected] | 1591 | GENERIC[email protected] |
1592 | [email protected] "<" | 1592 | [email protected] "<" |
1593 | [email protected] | 1593 | [email protected] |
1594 | [email protected] "\'union" | 1594 | [email protected] "\'union" |
@@ -1599,7 +1599,7 @@ [email protected] | |||
1599 | [email protected] "\n" | 1599 | [email protected] "\n" |
1600 | [email protected] "}" | 1600 | [email protected] "}" |
1601 | [email protected] "\n\n" | 1601 | [email protected] "\n\n" |
1602 | FN_DEF@2908..3042 | 1602 | [email protected] |
1603 | [email protected] "fn" | 1603 | [email protected] "fn" |
1604 | [email protected] " " | 1604 | [email protected] " " |
1605 | [email protected] | 1605 | [email protected] |
@@ -1614,7 +1614,7 @@ [email protected] | |||
1614 | [email protected] | 1614 | [email protected] |
1615 | [email protected] "let" | 1615 | [email protected] "let" |
1616 | [email protected] " " | 1616 | [email protected] " " |
1617 | BIN[email protected] | 1617 | IDENT[email protected] |
1618 | [email protected] | 1618 | [email protected] |
1619 | [email protected] "val" | 1619 | [email protected] "val" |
1620 | [email protected] " " | 1620 | [email protected] " " |
@@ -1628,31 +1628,31 @@ [email protected] | |||
1628 | [email protected] | 1628 | [email protected] |
1629 | [email protected] | 1629 | [email protected] |
1630 | [email protected] "(" | 1630 | [email protected] "(" |
1631 | LAMBDA[email protected] | 1631 | CLOSURE[email protected] |
1632 | [email protected] | 1632 | [email protected] |
1633 | [email protected] "|" | 1633 | [email protected] "|" |
1634 | [email protected] | 1634 | [email protected] |
1635 | [email protected] | 1635 | [email protected] |
1636 | [email protected] "(" | 1636 | [email protected] "(" |
1637 | DOT_DOT_[email protected] | 1637 | RES[email protected] |
1638 | [email protected] ".." | 1638 | [email protected] ".." |
1639 | [email protected] ")" | 1639 | [email protected] ")" |
1640 | [email protected] ":" | 1640 | [email protected] ":" |
1641 | [email protected] | 1641 | [email protected] |
1642 | [email protected] "(" | 1642 | [email protected] "(" |
1643 | PLACEHOLDE[email protected] | 1643 | INF[email protected] |
1644 | [email protected] "_" | 1644 | [email protected] "_" |
1645 | [email protected] "," | 1645 | [email protected] "," |
1646 | PLACEHOLDE[email protected] | 1646 | INF[email protected] |
1647 | [email protected] "_" | 1647 | [email protected] "_" |
1648 | [email protected] ")" | 1648 | [email protected] ")" |
1649 | [email protected] "," | 1649 | [email protected] "," |
1650 | [email protected] | 1650 | [email protected] |
1651 | BIN[email protected] | 1651 | IDENT[email protected] |
1652 | [email protected] | 1652 | [email protected] |
1653 | [email protected] "__" | 1653 | [email protected] "__" |
1654 | [email protected] "@" | 1654 | [email protected] "@" |
1655 | PLACEHOLDE[email protected] | 1655 | WILDCARD[email protected] |
1656 | [email protected] "_" | 1656 | [email protected] "_" |
1657 | [email protected] "|" | 1657 | [email protected] "|" |
1658 | [email protected] | 1658 | [email protected] |
@@ -1722,7 +1722,7 @@ [email protected] | |||
1722 | [email protected] "\n" | 1722 | [email protected] "\n" |
1723 | [email protected] "}" | 1723 | [email protected] "}" |
1724 | [email protected] "\n\n" | 1724 | [email protected] "\n\n" |
1725 | FN_DEF@3044..3514 | 1725 | [email protected] |
1726 | [email protected] "fn" | 1726 | [email protected] "fn" |
1727 | [email protected] " " | 1727 | [email protected] " " |
1728 | [email protected] | 1728 | [email protected] |
@@ -2056,7 +2056,7 @@ [email protected] | |||
2056 | [email protected] "\n" | 2056 | [email protected] "\n" |
2057 | [email protected] "}" | 2057 | [email protected] "}" |
2058 | [email protected] "\n\n" | 2058 | [email protected] "\n\n" |
2059 | FN_DEF@3516..3552 | 2059 | [email protected] |
2060 | [email protected] "fn" | 2060 | [email protected] "fn" |
2061 | [email protected] " " | 2061 | [email protected] " " |
2062 | [email protected] | 2062 | [email protected] |
@@ -2090,7 +2090,7 @@ [email protected] | |||
2090 | [email protected] "\n" | 2090 | [email protected] "\n" |
2091 | [email protected] "}" | 2091 | [email protected] "}" |
2092 | [email protected] "\n\n" | 2092 | [email protected] "\n\n" |
2093 | FN_DEF@3554..3812 | 2093 | [email protected] |
2094 | [email protected] | 2094 | [email protected] |
2095 | [email protected] "pub" | 2095 | [email protected] "pub" |
2096 | [email protected] " " | 2096 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rast b/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rast index a64a82e94..c4da317b9 100644 --- a/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rast +++ b/crates/ra_syntax/test_data/parser/ok/0036_fully_qualified.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | FN_DEF@62..156 | 4 | [email protected] |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "pub" | 6 | [email protected] "pub" |
7 | [email protected] " " | 7 | [email protected] " " |
@@ -9,7 +9,7 @@ [email protected] | |||
9 | [email protected] " " | 9 | [email protected] " " |
10 | [email protected] | 10 | [email protected] |
11 | [email protected] "foo" | 11 | [email protected] "foo" |
12 | TYP[email protected] | 12 | GENERIC[email protected] |
13 | [email protected] "<" | 13 | [email protected] "<" |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] | 15 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rast b/crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rast index 7fd414090..22168eaf1 100644 --- a/crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rast +++ b/crates/ra_syntax/test_data/parser/ok/0038_where_pred_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rast b/crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rast index 17be2c238..68a366354 100644 --- a/crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rast +++ b/crates/ra_syntax/test_data/parser/ok/0039_raw_fn_item.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..14 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast b/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast index 5640bae0a..8cfc14f49 100644 --- a/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast +++ b/crates/ra_syntax/test_data/parser/ok/0040_raw_struct_item_field.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | STRUCT_DEF@0..27 | 2 | [email protected] |
3 | [email protected] "struct" | 3 | [email protected] "struct" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "S" | 6 | [email protected] "S" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | RECORD_FIELD_DEF_[email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | RECORD_FIELD_DEF@15..25 | 11 | [email protected] |
12 | [email protected] | 12 | [email protected] |
13 | [email protected] "r#foo" | 13 | [email protected] "r#foo" |
14 | [email protected] ":" | 14 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast b/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast index acf32a852..4035aef6f 100644 --- a/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast +++ b/crates/ra_syntax/test_data/parser/ok/0041_raw_keywords.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..59 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "let" | 15 | [email protected] "let" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "r#struct" | 19 | [email protected] "r#struct" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -27,7 +27,7 @@ [email protected] | |||
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "let" | 28 | [email protected] "let" |
29 | [email protected] " " | 29 | [email protected] " " |
30 | BIN[email protected] | 30 | IDENT[email protected] |
31 | [email protected] | 31 | [email protected] |
32 | [email protected] "r#trait" | 32 | [email protected] "r#trait" |
33 | [email protected] " " | 33 | [email protected] " " |
diff --git a/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast b/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast index 468982b74..e71e069f1 100644 --- a/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast +++ b/crates/ra_syntax/test_data/parser/ok/0042_ufcs_call_list.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | STRUCT_DEF@62..73 | 4 | [email protected] |
5 | [email protected] "struct" | 5 | [email protected] "struct" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "Foo" | 8 | [email protected] "Foo" |
9 | [email protected] ";" | 9 | [email protected] ";" |
10 | [email protected] "\n\n" | 10 | [email protected] "\n\n" |
11 | IMPL_DEF@75..141 | 11 | [email protected] |
12 | [email protected] "impl" | 12 | [email protected] "impl" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -17,10 +17,10 @@ [email protected] | |||
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "Foo" | 18 | [email protected] "Foo" |
19 | [email protected] " " | 19 | [email protected] " " |
20 | [email protected] | 20 | ASSOC_[email protected] |
21 | [email protected] "{" | 21 | [email protected] "{" |
22 | [email protected] "\n " | 22 | [email protected] "\n " |
23 | FN_DEF@90..139 | 23 | [email protected] |
24 | [email protected] "fn" | 24 | [email protected] "fn" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | [email protected] | 26 | [email protected] |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] "\n" | 55 | [email protected] "\n" |
56 | [email protected] "}" | 56 | [email protected] "}" |
57 | [email protected] "\n\n" | 57 | [email protected] "\n\n" |
58 | FN_DEF@143..161 | 58 | [email protected] |
59 | [email protected] "fn" | 59 | [email protected] "fn" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] | 61 | [email protected] |
@@ -63,7 +63,7 @@ [email protected] | |||
63 | [email protected] | 63 | [email protected] |
64 | [email protected] "(" | 64 | [email protected] "(" |
65 | [email protected] | 65 | [email protected] |
66 | PLACEHOLDE[email protected] | 66 | WILDCARD[email protected] |
67 | [email protected] "_" | 67 | [email protected] "_" |
68 | [email protected] ":" | 68 | [email protected] ":" |
69 | [email protected] " " | 69 | [email protected] " " |
@@ -78,7 +78,7 @@ [email protected] | |||
78 | [email protected] "{" | 78 | [email protected] "{" |
79 | [email protected] "}" | 79 | [email protected] "}" |
80 | [email protected] "\n\n" | 80 | [email protected] "\n\n" |
81 | FN_DEF@163..198 | 81 | [email protected] |
82 | [email protected] "fn" | 82 | [email protected] "fn" |
83 | [email protected] " " | 83 | [email protected] " " |
84 | [email protected] | 84 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast b/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast index 900eeb445..adc4a22e9 100644 --- a/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast +++ b/crates/ra_syntax/test_data/parser/ok/0043_complex_assignment.rast | |||
@@ -1,16 +1,16 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | STRUCT_DEF@62..90 | 4 | [email protected] |
5 | [email protected] "struct" | 5 | [email protected] "struct" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "Repr" | 8 | [email protected] "Repr" |
9 | [email protected] " " | 9 | [email protected] " " |
10 | RECORD_FIELD_DEF_[email protected] | 10 | [email protected] |
11 | [email protected] "{" | 11 | [email protected] "{" |
12 | [email protected] " " | 12 | [email protected] " " |
13 | RECORD_FIELD_DEF@76..88 | 13 | [email protected] |
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "raw" | 15 | [email protected] "raw" |
16 | [email protected] ":" | 16 | [email protected] ":" |
@@ -30,7 +30,7 @@ [email protected] | |||
30 | [email protected] " " | 30 | [email protected] " " |
31 | [email protected] "}" | 31 | [email protected] "}" |
32 | [email protected] "\n\n" | 32 | [email protected] "\n\n" |
33 | FN_DEF@92..159 | 33 | [email protected] |
34 | [email protected] "fn" | 34 | [email protected] "fn" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | [email protected] | 36 | [email protected] |
@@ -46,16 +46,16 @@ [email protected] | |||
46 | [email protected] | 46 | [email protected] |
47 | [email protected] | 47 | [email protected] |
48 | [email protected] | 48 | [email protected] |
49 | RECORD_LIT@107..124 | 49 | RECORD_EXPR@107..124 |
50 | [email protected] | 50 | [email protected] |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] | 52 | [email protected] |
53 | [email protected] "Repr" | 53 | [email protected] "Repr" |
54 | [email protected] " " | 54 | [email protected] " " |
55 | [email protected] | 55 | RECORD_EXPR_[email protected] |
56 | [email protected] "{" | 56 | [email protected] "{" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | RECORD_EXPR_[email protected] |
59 | [email protected] | 59 | [email protected] |
60 | [email protected] "raw" | 60 | [email protected] "raw" |
61 | [email protected] ":" | 61 | [email protected] ":" |
@@ -83,14 +83,14 @@ [email protected] | |||
83 | [email protected] "\n " | 83 | [email protected] "\n " |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] | 85 | [email protected] |
86 | RECORD_LIT@141..154 | 86 | RECORD_EXPR@141..154 |
87 | [email protected] | 87 | [email protected] |
88 | [email protected] | 88 | [email protected] |
89 | [email protected] | 89 | [email protected] |
90 | [email protected] "Repr" | 90 | [email protected] "Repr" |
91 | [email protected] | 91 | RECORD_EXPR_[email protected] |
92 | [email protected] "{" | 92 | [email protected] "{" |
93 | [email protected] | 93 | RECORD_EXPR_[email protected] |
94 | [email protected] | 94 | [email protected] |
95 | [email protected] "raw" | 95 | [email protected] "raw" |
96 | [email protected] ":" | 96 | [email protected] ":" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast index 6d941487b..af44a4dbe 100644 --- a/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast +++ b/crates/ra_syntax/test_data/parser/ok/0044_let_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..165 | 2 | [email protected] |
3 | [email protected] "// https://github.com ..." | 3 | [email protected] "// https://github.com ..." |
4 | [email protected] "\n" | 4 | [email protected] "\n" |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
@@ -33,7 +33,7 @@ [email protected] | |||
33 | [email protected] "\n " | 33 | [email protected] "\n " |
34 | [email protected] "let" | 34 | [email protected] "let" |
35 | [email protected] " " | 35 | [email protected] " " |
36 | BIN[email protected] | 36 | IDENT[email protected] |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] "exit_code" | 38 | [email protected] "exit_code" |
39 | [email protected] " " | 39 | [email protected] " " |
@@ -52,7 +52,7 @@ [email protected] | |||
52 | [email protected] "catch_unwind" | 52 | [email protected] "catch_unwind" |
53 | [email protected] | 53 | [email protected] |
54 | [email protected] "(" | 54 | [email protected] "(" |
55 | LAMBDA[email protected] | 55 | CLOSURE[email protected] |
56 | [email protected] "move" | 56 | [email protected] "move" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast index e8b095251..0ac56df6d 100644 --- a/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast +++ b/crates/ra_syntax/test_data/parser/ok/0045_block_inner_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..461 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -89,7 +89,7 @@ [email protected] | |||
89 | [email protected] "\n\n" | 89 | [email protected] "\n\n" |
90 | [email protected] "// https://github.com ..." | 90 | [email protected] "// https://github.com ..." |
91 | [email protected] "\n" | 91 | [email protected] "\n" |
92 | IMPL_DEF@524..685 | 92 | [email protected] |
93 | [email protected] "impl" | 93 | [email protected] "impl" |
94 | [email protected] " " | 94 | [email protected] " " |
95 | [email protected] | 95 | [email protected] |
@@ -98,10 +98,10 @@ [email protected] | |||
98 | [email protected] | 98 | [email protected] |
99 | [email protected] "Whatever" | 99 | [email protected] "Whatever" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | [email protected] | 101 | ASSOC_[email protected] |
102 | [email protected] "{" | 102 | [email protected] "{" |
103 | [email protected] "\n " | 103 | [email protected] "\n " |
104 | FN_DEF@544..683 | 104 | [email protected] |
105 | [email protected] "fn" | 105 | [email protected] "fn" |
106 | [email protected] " " | 106 | [email protected] " " |
107 | [email protected] | 107 | [email protected] |
@@ -114,7 +114,7 @@ [email protected] | |||
114 | [email protected] "," | 114 | [email protected] "," |
115 | [email protected] " " | 115 | [email protected] " " |
116 | [email protected] | 116 | [email protected] |
117 | BIN[email protected] | 117 | IDENT[email protected] |
118 | [email protected] | 118 | [email protected] |
119 | [email protected] "event_fn" | 119 | [email protected] "event_fn" |
120 | [email protected] ":" | 120 | [email protected] ":" |
@@ -141,7 +141,7 @@ [email protected] | |||
141 | [email protected] | 141 | [email protected] |
142 | [email protected] | 142 | [email protected] |
143 | [email protected] "Event" | 143 | [email protected] "Event" |
144 | TYP[email protected] | 144 | GENERIC[email protected] |
145 | [email protected] "<" | 145 | [email protected] "<" |
146 | [email protected] | 146 | [email protected] |
147 | [email protected] | 147 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast index 38e44e48a..4f8dff909 100644 --- a/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast +++ b/crates/ra_syntax/test_data/parser/ok/0047_minus_in_inner_pattern.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | FN_DEF@62..341 | 4 | [email protected] |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |
@@ -55,7 +55,7 @@ [email protected] | |||
55 | [email protected] "," | 55 | [email protected] "," |
56 | [email protected] "\n " | 56 | [email protected] "\n " |
57 | [email protected] | 57 | [email protected] |
58 | PLACEHOLDE[email protected] | 58 | WILDCARD[email protected] |
59 | [email protected] "_" | 59 | [email protected] "_" |
60 | [email protected] " " | 60 | [email protected] " " |
61 | [email protected] "=>" | 61 | [email protected] "=>" |
@@ -127,7 +127,7 @@ [email protected] | |||
127 | [email protected] "," | 127 | [email protected] "," |
128 | [email protected] "\n " | 128 | [email protected] "\n " |
129 | [email protected] | 129 | [email protected] |
130 | PLACEHOLDE[email protected] | 130 | WILDCARD[email protected] |
131 | [email protected] "_" | 131 | [email protected] "_" |
132 | [email protected] " " | 132 | [email protected] " " |
133 | [email protected] "=>" | 133 | [email protected] "=>" |
@@ -203,7 +203,7 @@ [email protected] | |||
203 | [email protected] "," | 203 | [email protected] "," |
204 | [email protected] "\n " | 204 | [email protected] "\n " |
205 | [email protected] | 205 | [email protected] |
206 | PLACEHOLDE[email protected] | 206 | WILDCARD[email protected] |
207 | [email protected] "_" | 207 | [email protected] "_" |
208 | [email protected] " " | 208 | [email protected] " " |
209 | [email protected] "=>" | 209 | [email protected] "=>" |
@@ -256,21 +256,21 @@ [email protected] | |||
256 | [email protected] "\n" | 256 | [email protected] "\n" |
257 | [email protected] "}" | 257 | [email protected] "}" |
258 | [email protected] "\n\n" | 258 | [email protected] "\n\n" |
259 | ENUM_DEF@343..367 | 259 | [email protected] |
260 | [email protected] "enum" | 260 | [email protected] "enum" |
261 | [email protected] " " | 261 | [email protected] " " |
262 | [email protected] | 262 | [email protected] |
263 | [email protected] "A" | 263 | [email protected] "A" |
264 | [email protected] " " | 264 | [email protected] " " |
265 | ENUM_[email protected] | 265 | [email protected] |
266 | [email protected] "{" | 266 | [email protected] "{" |
267 | [email protected] "\n " | 267 | [email protected] "\n " |
268 | ENUM_[email protected] | 268 | [email protected] |
269 | [email protected] | 269 | [email protected] |
270 | [email protected] "B" | 270 | [email protected] "B" |
271 | TUPLE_FIELD_DEF_[email protected] | 271 | [email protected] |
272 | [email protected] "(" | 272 | [email protected] "(" |
273 | TUPLE_FIELD_DEF@358..360 | 273 | [email protected] |
274 | [email protected] | 274 | [email protected] |
275 | [email protected] | 275 | [email protected] |
276 | [email protected] | 276 | [email protected] |
@@ -278,7 +278,7 @@ [email protected] | |||
278 | [email protected] "i8" | 278 | [email protected] "i8" |
279 | [email protected] "," | 279 | [email protected] "," |
280 | [email protected] " " | 280 | [email protected] " " |
281 | TUPLE_FIELD_DEF@362..364 | 281 | [email protected] |
282 | [email protected] | 282 | [email protected] |
283 | [email protected] | 283 | [email protected] |
284 | [email protected] | 284 | [email protected] |
@@ -288,7 +288,7 @@ [email protected] | |||
288 | [email protected] "\n" | 288 | [email protected] "\n" |
289 | [email protected] "}" | 289 | [email protected] "}" |
290 | [email protected] "\n\n" | 290 | [email protected] "\n\n" |
291 | FN_DEF@369..394 | 291 | [email protected] |
292 | [email protected] "fn" | 292 | [email protected] "fn" |
293 | [email protected] " " | 293 | [email protected] " " |
294 | [email protected] | 294 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast b/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast index 28233c5d0..eaab47843 100644 --- a/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast +++ b/crates/ra_syntax/test_data/parser/ok/0048_compound_assignment.rast | |||
@@ -1,7 +1,7 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | [email protected] "// https://github.com ..." | 2 | [email protected] "// https://github.com ..." |
3 | [email protected] "\n\n" | 3 | [email protected] "\n\n" |
4 | FN_DEF@60..256 | 4 | [email protected] |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
6 | [email protected] " " | 6 | [email protected] " " |
7 | [email protected] | 7 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "let" | 17 | [email protected] "let" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | BIN[email protected] | 19 | IDENT[email protected] |
20 | [email protected] "mut" | 20 | [email protected] "mut" |
21 | [email protected] " " | 21 | [email protected] " " |
22 | [email protected] | 22 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0049_async_block.rast b/crates/ra_syntax/test_data/parser/ok/0049_async_block.rast index 0569488f8..57ecad3cf 100644 --- a/crates/ra_syntax/test_data/parser/ok/0049_async_block.rast +++ b/crates/ra_syntax/test_data/parser/ok/0049_async_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..45 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast b/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast index 7847da085..c7ce12e93 100644 --- a/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast +++ b/crates/ra_syntax/test_data/parser/ok/0050_async_block_as_argument.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..52 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "x" | 12 | [email protected] "x" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -32,7 +32,7 @@ [email protected] | |||
32 | [email protected] | 32 | [email protected] |
33 | [email protected] | 33 | [email protected] |
34 | [email protected] "Future" | 34 | [email protected] "Future" |
35 | TYP[email protected] | 35 | GENERIC[email protected] |
36 | [email protected] "<" | 36 | [email protected] "<" |
37 | [email protected] | 37 | [email protected] |
38 | [email protected] | 38 | [email protected] |
@@ -52,7 +52,7 @@ [email protected] | |||
52 | [email protected] "{" | 52 | [email protected] "{" |
53 | [email protected] "}" | 53 | [email protected] "}" |
54 | [email protected] "\n\n" | 54 | [email protected] "\n\n" |
55 | FN_DEF@54..94 | 55 | [email protected] |
56 | [email protected] "fn" | 56 | [email protected] "fn" |
57 | [email protected] " " | 57 | [email protected] " " |
58 | [email protected] | 58 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast b/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast index 816740a7c..d4f05f279 100644 --- a/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast +++ b/crates/ra_syntax/test_data/parser/ok/0051_parameter_attrs.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..37 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -25,7 +25,7 @@ [email protected] | |||
25 | [email protected] "]" | 25 | [email protected] "]" |
26 | [email protected] " " | 26 | [email protected] " " |
27 | [email protected] | 27 | [email protected] |
28 | BIN[email protected] | 28 | IDENT[email protected] |
29 | [email protected] | 29 | [email protected] |
30 | [email protected] "pat" | 30 | [email protected] "pat" |
31 | [email protected] ":" | 31 | [email protected] ":" |
@@ -41,7 +41,7 @@ [email protected] | |||
41 | [email protected] "{" | 41 | [email protected] "{" |
42 | [email protected] "}" | 42 | [email protected] "}" |
43 | [email protected] "\n" | 43 | [email protected] "\n" |
44 | FN_DEF@38..62 | 44 | [email protected] |
45 | [email protected] "fn" | 45 | [email protected] "fn" |
46 | [email protected] " " | 46 | [email protected] " " |
47 | [email protected] | 47 | [email protected] |
@@ -58,7 +58,7 @@ [email protected] | |||
58 | [email protected] "]" | 58 | [email protected] "]" |
59 | [email protected] " " | 59 | [email protected] " " |
60 | [email protected] | 60 | [email protected] |
61 | BIN[email protected] | 61 | IDENT[email protected] |
62 | [email protected] | 62 | [email protected] |
63 | [email protected] "x" | 63 | [email protected] "x" |
64 | [email protected] ":" | 64 | [email protected] ":" |
@@ -83,7 +83,7 @@ [email protected] | |||
83 | [email protected] | 83 | [email protected] |
84 | [email protected] "{" | 84 | [email protected] "{" |
85 | [email protected] " " | 85 | [email protected] " " |
86 | FN_DEF@77..126 | 86 | [email protected] |
87 | [email protected] "fn" | 87 | [email protected] "fn" |
88 | [email protected] " " | 88 | [email protected] " " |
89 | [email protected] | 89 | [email protected] |
@@ -91,12 +91,12 @@ [email protected] | |||
91 | [email protected] | 91 | [email protected] |
92 | [email protected] "(" | 92 | [email protected] "(" |
93 | [email protected] | 93 | [email protected] |
94 | BIN[email protected] | 94 | IDENT[email protected] |
95 | [email protected] | 95 | [email protected] |
96 | [email protected] "format" | 96 | [email protected] "format" |
97 | [email protected] ":" | 97 | [email protected] ":" |
98 | [email protected] " " | 98 | [email protected] " " |
99 | POINTE[email protected] | 99 | [email protected] |
100 | [email protected] "*" | 100 | [email protected] "*" |
101 | [email protected] "const" | 101 | [email protected] "const" |
102 | [email protected] " " | 102 | [email protected] " " |
@@ -132,12 +132,12 @@ [email protected] | |||
132 | [email protected] " " | 132 | [email protected] " " |
133 | [email protected] "}" | 133 | [email protected] "}" |
134 | [email protected] "\n\n" | 134 | [email protected] "\n\n" |
135 | FN_DEF@130..172 | 135 | [email protected] |
136 | [email protected] "fn" | 136 | [email protected] "fn" |
137 | [email protected] " " | 137 | [email protected] " " |
138 | [email protected] | 138 | [email protected] |
139 | [email protected] "foo" | 139 | [email protected] "foo" |
140 | TYP[email protected] | 140 | GENERIC[email protected] |
141 | [email protected] "<" | 141 | [email protected] "<" |
142 | [email protected] | 142 | [email protected] |
143 | [email protected] | 143 | [email protected] |
@@ -163,7 +163,7 @@ [email protected] | |||
163 | [email protected] "]" | 163 | [email protected] "]" |
164 | [email protected] " " | 164 | [email protected] " " |
165 | [email protected] | 165 | [email protected] |
166 | REFERENCE[email protected] | 166 | [email protected] |
167 | [email protected] "&" | 167 | [email protected] "&" |
168 | [email protected] "mut" | 168 | [email protected] "mut" |
169 | [email protected] " " | 169 | [email protected] " " |
@@ -172,7 +172,7 @@ [email protected] | |||
172 | [email protected] | 172 | [email protected] |
173 | [email protected] | 173 | [email protected] |
174 | [email protected] "Foo" | 174 | [email protected] "Foo" |
175 | TYP[email protected] | 175 | GENERIC[email protected] |
176 | [email protected] "<" | 176 | [email protected] "<" |
177 | [email protected] | 177 | [email protected] |
178 | [email protected] "\'a" | 178 | [email protected] "\'a" |
@@ -186,16 +186,16 @@ [email protected] | |||
186 | [email protected] "{" | 186 | [email protected] "{" |
187 | [email protected] "}" | 187 | [email protected] "}" |
188 | [email protected] "\n\n" | 188 | [email protected] "\n\n" |
189 | TRAIT_DEF@174..236 | 189 | [email protected] |
190 | [email protected] "trait" | 190 | [email protected] "trait" |
191 | [email protected] " " | 191 | [email protected] " " |
192 | [email protected] | 192 | [email protected] |
193 | [email protected] "Foo" | 193 | [email protected] "Foo" |
194 | [email protected] " " | 194 | [email protected] " " |
195 | [email protected] | 195 | ASSOC_[email protected] |
196 | [email protected] "{" | 196 | [email protected] "{" |
197 | [email protected] "\n " | 197 | [email protected] "\n " |
198 | FN_DEF@190..234 | 198 | [email protected] |
199 | [email protected] "fn" | 199 | [email protected] "fn" |
200 | [email protected] " " | 200 | [email protected] " " |
201 | [email protected] | 201 | [email protected] |
@@ -212,7 +212,7 @@ [email protected] | |||
212 | [email protected] "]" | 212 | [email protected] "]" |
213 | [email protected] " " | 213 | [email protected] " " |
214 | [email protected] | 214 | [email protected] |
215 | PLACEHOLDE[email protected] | 215 | WILDCARD[email protected] |
216 | [email protected] "_" | 216 | [email protected] "_" |
217 | [email protected] ":" | 217 | [email protected] ":" |
218 | [email protected] " " | 218 | [email protected] " " |
@@ -234,7 +234,7 @@ [email protected] | |||
234 | [email protected] "]" | 234 | [email protected] "]" |
235 | [email protected] " " | 235 | [email protected] " " |
236 | [email protected] | 236 | [email protected] |
237 | BIN[email protected] | 237 | IDENT[email protected] |
238 | [email protected] "mut" | 238 | [email protected] "mut" |
239 | [email protected] " " | 239 | [email protected] " " |
240 | [email protected] | 240 | [email protected] |
@@ -251,7 +251,7 @@ [email protected] | |||
251 | [email protected] "\n" | 251 | [email protected] "\n" |
252 | [email protected] "}" | 252 | [email protected] "}" |
253 | [email protected] "\n\n" | 253 | [email protected] "\n\n" |
254 | IMPL_DEF@238..519 | 254 | [email protected] |
255 | [email protected] "impl" | 255 | [email protected] "impl" |
256 | [email protected] " " | 256 | [email protected] " " |
257 | [email protected] | 257 | [email protected] |
@@ -260,10 +260,10 @@ [email protected] | |||
260 | [email protected] | 260 | [email protected] |
261 | [email protected] "S" | 261 | [email protected] "S" |
262 | [email protected] " " | 262 | [email protected] " " |
263 | [email protected] | 263 | ASSOC_[email protected] |
264 | [email protected] "{" | 264 | [email protected] "{" |
265 | [email protected] "\n " | 265 | [email protected] "\n " |
266 | FN_DEF@252..277 | 266 | [email protected] |
267 | [email protected] "fn" | 267 | [email protected] "fn" |
268 | [email protected] " " | 268 | [email protected] " " |
269 | [email protected] | 269 | [email protected] |
@@ -287,7 +287,7 @@ [email protected] | |||
287 | [email protected] "{" | 287 | [email protected] "{" |
288 | [email protected] "}" | 288 | [email protected] "}" |
289 | [email protected] "\n " | 289 | [email protected] "\n " |
290 | FN_DEF@283..305 | 290 | [email protected] |
291 | [email protected] "fn" | 291 | [email protected] "fn" |
292 | [email protected] " " | 292 | [email protected] " " |
293 | [email protected] | 293 | [email protected] |
@@ -311,7 +311,7 @@ [email protected] | |||
311 | [email protected] "{" | 311 | [email protected] "{" |
312 | [email protected] "}" | 312 | [email protected] "}" |
313 | [email protected] "\n " | 313 | [email protected] "\n " |
314 | FN_DEF@311..334 | 314 | [email protected] |
315 | [email protected] "fn" | 315 | [email protected] "fn" |
316 | [email protected] " " | 316 | [email protected] " " |
317 | [email protected] | 317 | [email protected] |
@@ -336,12 +336,12 @@ [email protected] | |||
336 | [email protected] "{" | 336 | [email protected] "{" |
337 | [email protected] "}" | 337 | [email protected] "}" |
338 | [email protected] "\n " | 338 | [email protected] "\n " |
339 | FN_DEF@340..371 | 339 | [email protected] |
340 | [email protected] "fn" | 340 | [email protected] "fn" |
341 | [email protected] " " | 341 | [email protected] " " |
342 | [email protected] | 342 | [email protected] |
343 | [email protected] "g3" | 343 | [email protected] "g3" |
344 | TYP[email protected] | 344 | GENERIC[email protected] |
345 | [email protected] "<" | 345 | [email protected] "<" |
346 | [email protected] | 346 | [email protected] |
347 | [email protected] "\'a" | 347 | [email protected] "\'a" |
@@ -368,12 +368,12 @@ [email protected] | |||
368 | [email protected] "{" | 368 | [email protected] "{" |
369 | [email protected] "}" | 369 | [email protected] "}" |
370 | [email protected] "\n " | 370 | [email protected] "\n " |
371 | FN_DEF@377..407 | 371 | [email protected] |
372 | [email protected] "fn" | 372 | [email protected] "fn" |
373 | [email protected] " " | 373 | [email protected] " " |
374 | [email protected] | 374 | [email protected] |
375 | [email protected] "g4" | 375 | [email protected] "g4" |
376 | TYP[email protected] | 376 | GENERIC[email protected] |
377 | [email protected] "<" | 377 | [email protected] "<" |
378 | [email protected] | 378 | [email protected] |
379 | [email protected] "\'a" | 379 | [email protected] "\'a" |
@@ -400,12 +400,12 @@ [email protected] | |||
400 | [email protected] "{" | 400 | [email protected] "{" |
401 | [email protected] "}" | 401 | [email protected] "}" |
402 | [email protected] "\n " | 402 | [email protected] "\n " |
403 | FN_DEF@413..447 | 403 | [email protected] |
404 | [email protected] "fn" | 404 | [email protected] "fn" |
405 | [email protected] " " | 405 | [email protected] " " |
406 | [email protected] | 406 | [email protected] |
407 | [email protected] "g5" | 407 | [email protected] "g5" |
408 | TYP[email protected] | 408 | GENERIC[email protected] |
409 | [email protected] "<" | 409 | [email protected] "<" |
410 | [email protected] | 410 | [email protected] |
411 | [email protected] "\'a" | 411 | [email protected] "\'a" |
@@ -434,7 +434,7 @@ [email protected] | |||
434 | [email protected] "{" | 434 | [email protected] "{" |
435 | [email protected] "}" | 435 | [email protected] "}" |
436 | [email protected] "\n " | 436 | [email protected] "\n " |
437 | FN_DEF@453..480 | 437 | [email protected] |
438 | [email protected] "fn" | 438 | [email protected] "fn" |
439 | [email protected] " " | 439 | [email protected] " " |
440 | [email protected] | 440 | [email protected] |
@@ -465,7 +465,7 @@ [email protected] | |||
465 | [email protected] "{" | 465 | [email protected] "{" |
466 | [email protected] "}" | 466 | [email protected] "}" |
467 | [email protected] "\n " | 467 | [email protected] "\n " |
468 | FN_DEF@486..517 | 468 | [email protected] |
469 | [email protected] "fn" | 469 | [email protected] "fn" |
470 | [email protected] " " | 470 | [email protected] " " |
471 | [email protected] | 471 | [email protected] |
@@ -490,7 +490,7 @@ [email protected] | |||
490 | [email protected] | 490 | [email protected] |
491 | [email protected] | 491 | [email protected] |
492 | [email protected] "Rc" | 492 | [email protected] "Rc" |
493 | TYP[email protected] | 493 | GENERIC[email protected] |
494 | [email protected] "<" | 494 | [email protected] "<" |
495 | [email protected] | 495 | [email protected] |
496 | [email protected] | 496 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast index 65cfa7bc5..350823ba3 100644 --- a/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast +++ b/crates/ra_syntax/test_data/parser/ok/0052_for_range_block.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..79 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -14,7 +14,7 @@ [email protected] | |||
14 | [email protected] | 14 | [email protected] |
15 | [email protected] "for" | 15 | [email protected] "for" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | BIN[email protected] | 17 | IDENT[email protected] |
18 | [email protected] | 18 | [email protected] |
19 | [email protected] "_x" | 19 | [email protected] "_x" |
20 | [email protected] " " | 20 | [email protected] " " |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] "." | 50 | [email protected] "." |
51 | [email protected] | 51 | [email protected] |
52 | [email protected] "sum" | 52 | [email protected] "sum" |
53 | TYP[email protected] | 53 | GENERIC[email protected] |
54 | [email protected] "::" | 54 | [email protected] "::" |
55 | [email protected] "<" | 55 | [email protected] "<" |
56 | [email protected] | 56 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast b/crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast index d6aec7ab9..f25c9ac36 100644 --- a/crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast +++ b/crates/ra_syntax/test_data/parser/ok/0054_qual_path_in_type_arg.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..26 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,7 +16,7 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] | 17 | [email protected] |
18 | [email protected] "Foo" | 18 | [email protected] "Foo" |
19 | TYP[email protected] | 19 | GENERIC[email protected] |
20 | [email protected] "<" | 20 | [email protected] "<" |
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
@@ -35,7 +35,7 @@ [email protected] | |||
35 | [email protected] "{" | 35 | [email protected] "{" |
36 | [email protected] "}" | 36 | [email protected] "}" |
37 | [email protected] "\n\n" | 37 | [email protected] "\n\n" |
38 | FN_DEF@28..56 | 38 | [email protected] |
39 | [email protected] "fn" | 39 | [email protected] "fn" |
40 | [email protected] " " | 40 | [email protected] " " |
41 | [email protected] | 41 | [email protected] |
@@ -43,7 +43,7 @@ [email protected] | |||
43 | [email protected] | 43 | [email protected] |
44 | [email protected] "(" | 44 | [email protected] "(" |
45 | [email protected] | 45 | [email protected] |
46 | PLACEHOLDE[email protected] | 46 | WILDCARD[email protected] |
47 | [email protected] "_" | 47 | [email protected] "_" |
48 | [email protected] ":" | 48 | [email protected] ":" |
49 | [email protected] " " | 49 | [email protected] " " |
@@ -77,7 +77,7 @@ [email protected] | |||
77 | [email protected] "{" | 77 | [email protected] "{" |
78 | [email protected] "}" | 78 | [email protected] "}" |
79 | [email protected] "\n\n" | 79 | [email protected] "\n\n" |
80 | FN_DEF@58..87 | 80 | [email protected] |
81 | [email protected] "fn" | 81 | [email protected] "fn" |
82 | [email protected] " " | 82 | [email protected] " " |
83 | [email protected] | 83 | [email protected] |
@@ -85,7 +85,7 @@ [email protected] | |||
85 | [email protected] | 85 | [email protected] |
86 | [email protected] "(" | 86 | [email protected] "(" |
87 | [email protected] | 87 | [email protected] |
88 | PLACEHOLDE[email protected] | 88 | WILDCARD[email protected] |
89 | [email protected] "_" | 89 | [email protected] "_" |
90 | [email protected] ":" | 90 | [email protected] ":" |
91 | [email protected] " " | 91 | [email protected] " " |
@@ -102,7 +102,7 @@ [email protected] | |||
102 | [email protected] | 102 | [email protected] |
103 | [email protected] "(" | 103 | [email protected] "(" |
104 | [email protected] | 104 | [email protected] |
105 | REFERENCE[email protected] | 105 | [email protected] |
106 | [email protected] "&" | 106 | [email protected] "&" |
107 | [email protected] | 107 | [email protected] |
108 | [email protected] | 108 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rast b/crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rast index 9e0cec35f..7447d516e 100644 --- a/crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rast +++ b/crates/ra_syntax/test_data/parser/ok/0055_dot_dot_dot.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TYPE_ALIAS_DEF@0..12 | 2 | [email protected] |
3 | [email protected] "type" | 3 | [email protected] "type" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -12,7 +12,7 @@ [email protected] | |||
12 | [email protected] ")" | 12 | [email protected] ")" |
13 | [email protected] ";" | 13 | [email protected] ";" |
14 | [email protected] "\n\n" | 14 | [email protected] "\n\n" |
15 | FN_DEF@14..48 | 15 | [email protected] |
16 | [email protected] "fn" | 16 | [email protected] "fn" |
17 | [email protected] " " | 17 | [email protected] " " |
18 | [email protected] | 18 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rast b/crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rast index 7fa3033ac..3ef916e55 100644 --- a/crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rast +++ b/crates/ra_syntax/test_data/parser/ok/0056_neq_in_type.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..70 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast index d93968016..76301004a 100644 --- a/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast +++ b/crates/ra_syntax/test_data/parser/ok/0057_loop_in_call.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..17 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -7,7 +7,7 @@ [email protected] | |||
7 | [email protected] | 7 | [email protected] |
8 | [email protected] "(" | 8 | [email protected] "(" |
9 | [email protected] | 9 | [email protected] |
10 | BIN[email protected] | 10 | IDENT[email protected] |
11 | [email protected] | 11 | [email protected] |
12 | [email protected] "x" | 12 | [email protected] "x" |
13 | [email protected] ":" | 13 | [email protected] ":" |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] "{" | 23 | [email protected] "{" |
24 | [email protected] "}" | 24 | [email protected] "}" |
25 | [email protected] "\n\n" | 25 | [email protected] "\n\n" |
26 | FN_DEF@19..50 | 26 | [email protected] |
27 | [email protected] "fn" | 27 | [email protected] "fn" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] | 29 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rast b/crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rast index b5c72ee36..a1dfd58f2 100644 --- a/crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rast +++ b/crates/ra_syntax/test_data/parser/ok/0058_unary_expr_precedence.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..78 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rast b/crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rast index ddcb139c1..213f7b381 100644 --- a/crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rast +++ b/crates/ra_syntax/test_data/parser/ok/0059_loops_in_parens.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..104 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -23,7 +23,7 @@ [email protected] | |||
23 | [email protected] | 23 | [email protected] |
24 | [email protected] "for" | 24 | [email protected] "for" |
25 | [email protected] " " | 25 | [email protected] " " |
26 | PLACEHOLDE[email protected] | 26 | WILDCARD[email protected] |
27 | [email protected] "_" | 27 | [email protected] "_" |
28 | [email protected] " " | 28 | [email protected] " " |
29 | [email protected] "in" | 29 | [email protected] "in" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0060_as_range.rast b/crates/ra_syntax/test_data/parser/ok/0060_as_range.rast index 098152fc3..1fd1a2888 100644 --- a/crates/ra_syntax/test_data/parser/ok/0060_as_range.rast +++ b/crates/ra_syntax/test_data/parser/ok/0060_as_range.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..55 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rast b/crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rast index c6e982976..ba49c115b 100644 --- a/crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rast +++ b/crates/ra_syntax/test_data/parser/ok/0061_match_full_range.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..34 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rast b/crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rast index bf791ee2b..0c22c31a4 100644 --- a/crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rast +++ b/crates/ra_syntax/test_data/parser/ok/0062_macro_2.0.rast | |||
@@ -51,7 +51,7 @@ [email protected] | |||
51 | [email protected] "\n" | 51 | [email protected] "\n" |
52 | [email protected] "}" | 52 | [email protected] "}" |
53 | [email protected] "\n\n" | 53 | [email protected] "\n\n" |
54 | FN_DEF@95..348 | 54 | [email protected] |
55 | [email protected] | 55 | [email protected] |
56 | [email protected] "#" | 56 | [email protected] "#" |
57 | [email protected] "[" | 57 | [email protected] "[" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast index 886b211d0..8eda59976 100644 --- a/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast +++ b/crates/ra_syntax/test_data/parser/ok/0063_trait_fn_patterns.rast | |||
@@ -1,14 +1,14 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | TRAIT_DEF@0..169 | 2 | [email protected] |
3 | [email protected] "trait" | 3 | [email protected] "trait" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "T" | 6 | [email protected] "T" |
7 | [email protected] " " | 7 | [email protected] " " |
8 | [email protected] | 8 | ASSOC_[email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | FN_DEF@14..46 | 11 | [email protected] |
12 | [email protected] "fn" | 12 | [email protected] "fn" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -18,12 +18,12 @@ [email protected] | |||
18 | [email protected] | 18 | [email protected] |
19 | [email protected] | 19 | [email protected] |
20 | [email protected] "(" | 20 | [email protected] "(" |
21 | BIN[email protected] | 21 | IDENT[email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "a" | 23 | [email protected] "a" |
24 | [email protected] "," | 24 | [email protected] "," |
25 | [email protected] " " | 25 | [email protected] " " |
26 | BIN[email protected] | 26 | IDENT[email protected] |
27 | [email protected] | 27 | [email protected] |
28 | [email protected] "b" | 28 | [email protected] "b" |
29 | [email protected] ")" | 29 | [email protected] ")" |
@@ -50,7 +50,7 @@ [email protected] | |||
50 | [email protected] "{" | 50 | [email protected] "{" |
51 | [email protected] "}" | 51 | [email protected] "}" |
52 | [email protected] "\n " | 52 | [email protected] "\n " |
53 | FN_DEF@51..74 | 53 | [email protected] |
54 | [email protected] "fn" | 54 | [email protected] "fn" |
55 | [email protected] " " | 55 | [email protected] " " |
56 | [email protected] | 56 | [email protected] |
@@ -64,17 +64,17 @@ [email protected] | |||
64 | [email protected] | 64 | [email protected] |
65 | [email protected] "S" | 65 | [email protected] "S" |
66 | [email protected] " " | 66 | [email protected] " " |
67 | RECORD_FIELD_PAT_[email protected] | 67 | RECORD_PAT_[email protected] |
68 | [email protected] "{" | 68 | [email protected] "{" |
69 | [email protected] " " | 69 | [email protected] " " |
70 | RECORD_FIELD_PAT@61..62 | 70 | RECORD_PAT_[email protected] |
71 | BIN[email protected] | 71 | IDENT[email protected] |
72 | [email protected] | 72 | [email protected] |
73 | [email protected] "a" | 73 | [email protected] "a" |
74 | [email protected] "," | 74 | [email protected] "," |
75 | [email protected] " " | 75 | [email protected] " " |
76 | RECORD_FIELD_PAT@64..65 | 76 | RECORD_PAT_[email protected] |
77 | BIN[email protected] | 77 | IDENT[email protected] |
78 | [email protected] | 78 | [email protected] |
79 | [email protected] "b" | 79 | [email protected] "b" |
80 | [email protected] " " | 80 | [email protected] " " |
@@ -92,7 +92,7 @@ [email protected] | |||
92 | [email protected] "{" | 92 | [email protected] "{" |
93 | [email protected] "}" | 93 | [email protected] "}" |
94 | [email protected] "\n " | 94 | [email protected] "\n " |
95 | FN_DEF@79..108 | 95 | [email protected] |
96 | [email protected] "fn" | 96 | [email protected] "fn" |
97 | [email protected] " " | 97 | [email protected] " " |
98 | [email protected] | 98 | [email protected] |
@@ -106,7 +106,7 @@ [email protected] | |||
106 | [email protected] | 106 | [email protected] |
107 | [email protected] "NewType" | 107 | [email protected] "NewType" |
108 | [email protected] "(" | 108 | [email protected] "(" |
109 | BIN[email protected] | 109 | IDENT[email protected] |
110 | [email protected] | 110 | [email protected] |
111 | [email protected] "a" | 111 | [email protected] "a" |
112 | [email protected] ")" | 112 | [email protected] ")" |
@@ -123,7 +123,7 @@ [email protected] | |||
123 | [email protected] "{" | 123 | [email protected] "{" |
124 | [email protected] "}" | 124 | [email protected] "}" |
125 | [email protected] "\n " | 125 | [email protected] "\n " |
126 | FN_DEF@113..135 | 126 | [email protected] |
127 | [email protected] "fn" | 127 | [email protected] "fn" |
128 | [email protected] " " | 128 | [email protected] " " |
129 | [email protected] | 129 | [email protected] |
@@ -135,14 +135,14 @@ [email protected] | |||
135 | [email protected] "&" | 135 | [email protected] "&" |
136 | [email protected] | 136 | [email protected] |
137 | [email protected] "&" | 137 | [email protected] "&" |
138 | BIN[email protected] | 138 | IDENT[email protected] |
139 | [email protected] | 139 | [email protected] |
140 | [email protected] "a" | 140 | [email protected] "a" |
141 | [email protected] ":" | 141 | [email protected] ":" |
142 | [email protected] " " | 142 | [email protected] " " |
143 | REFERENCE[email protected] | 143 | [email protected] |
144 | [email protected] "&" | 144 | [email protected] "&" |
145 | REFERENCE[email protected] | 145 | [email protected] |
146 | [email protected] "&" | 146 | [email protected] "&" |
147 | [email protected] | 147 | [email protected] |
148 | [email protected] | 148 | [email protected] |
@@ -155,7 +155,7 @@ [email protected] | |||
155 | [email protected] "{" | 155 | [email protected] "{" |
156 | [email protected] "}" | 156 | [email protected] "}" |
157 | [email protected] "\n " | 157 | [email protected] "\n " |
158 | FN_DEF@140..167 | 158 | [email protected] |
159 | [email protected] "fn" | 159 | [email protected] "fn" |
160 | [email protected] " " | 160 | [email protected] " " |
161 | [email protected] | 161 | [email protected] |
@@ -163,7 +163,7 @@ [email protected] | |||
163 | [email protected] | 163 | [email protected] |
164 | [email protected] "(" | 164 | [email protected] "(" |
165 | [email protected] | 165 | [email protected] |
166 | PLACEHOLDE[email protected] | 166 | WILDCARD[email protected] |
167 | [email protected] "_" | 167 | [email protected] "_" |
168 | [email protected] ":" | 168 | [email protected] ":" |
169 | [email protected] " " | 169 | [email protected] " " |
@@ -175,7 +175,7 @@ [email protected] | |||
175 | [email protected] "," | 175 | [email protected] "," |
176 | [email protected] " " | 176 | [email protected] " " |
177 | [email protected] | 177 | [email protected] |
178 | BIN[email protected] | 178 | IDENT[email protected] |
179 | [email protected] "mut" | 179 | [email protected] "mut" |
180 | [email protected] " " | 180 | [email protected] " " |
181 | [email protected] | 181 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast b/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast index 5a9f07c89..4009b3ff8 100644 --- a/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast +++ b/crates/ra_syntax/test_data/parser/ok/0063_variadic_fun.rast | |||
@@ -8,7 +8,7 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "{" | 9 | [email protected] "{" |
10 | [email protected] "\n " | 10 | [email protected] "\n " |
11 | FN_DEF@17..40 | 11 | [email protected] |
12 | [email protected] "fn" | 12 | [email protected] "fn" |
13 | [email protected] " " | 13 | [email protected] " " |
14 | [email protected] | 14 | [email protected] |
@@ -16,11 +16,11 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "(" | 17 | [email protected] "(" |
18 | [email protected] | 18 | [email protected] |
19 | PLACEHOLDE[email protected] | 19 | WILDCARD[email protected] |
20 | [email protected] "_" | 20 | [email protected] "_" |
21 | [email protected] ":" | 21 | [email protected] ":" |
22 | [email protected] " " | 22 | [email protected] " " |
23 | POINTE[email protected] | 23 | [email protected] |
24 | [email protected] "*" | 24 | [email protected] "*" |
25 | [email protected] "mut" | 25 | [email protected] "mut" |
26 | [email protected] " " | 26 | [email protected] " " |
@@ -37,7 +37,7 @@ [email protected] | |||
37 | [email protected] ")" | 37 | [email protected] ")" |
38 | [email protected] ";" | 38 | [email protected] ";" |
39 | [email protected] "\n " | 39 | [email protected] "\n " |
40 | FN_DEF@45..70 | 40 | [email protected] |
41 | [email protected] "fn" | 41 | [email protected] "fn" |
42 | [email protected] " " | 42 | [email protected] " " |
43 | [email protected] | 43 | [email protected] |
@@ -45,11 +45,11 @@ [email protected] | |||
45 | [email protected] | 45 | [email protected] |
46 | [email protected] "(" | 46 | [email protected] "(" |
47 | [email protected] | 47 | [email protected] |
48 | PLACEHOLDE[email protected] | 48 | WILDCARD[email protected] |
49 | [email protected] "_" | 49 | [email protected] "_" |
50 | [email protected] ":" | 50 | [email protected] ":" |
51 | [email protected] " " | 51 | [email protected] " " |
52 | POINTE[email protected] | 52 | [email protected] |
53 | [email protected] "*" | 53 | [email protected] "*" |
54 | [email protected] "mut" | 54 | [email protected] "mut" |
55 | [email protected] " " | 55 | [email protected] " " |
@@ -61,7 +61,7 @@ [email protected] | |||
61 | [email protected] "," | 61 | [email protected] "," |
62 | [email protected] " " | 62 | [email protected] " " |
63 | [email protected] | 63 | [email protected] |
64 | PLACEHOLDE[email protected] | 64 | WILDCARD[email protected] |
65 | [email protected] "_" | 65 | [email protected] "_" |
66 | [email protected] ":" | 66 | [email protected] ":" |
67 | [email protected] " " | 67 | [email protected] " " |
@@ -69,7 +69,7 @@ [email protected] | |||
69 | [email protected] ")" | 69 | [email protected] ")" |
70 | [email protected] ";" | 70 | [email protected] ";" |
71 | [email protected] "\n " | 71 | [email protected] "\n " |
72 | FN_DEF@75..123 | 72 | [email protected] |
73 | [email protected] "fn" | 73 | [email protected] "fn" |
74 | [email protected] " " | 74 | [email protected] " " |
75 | [email protected] | 75 | [email protected] |
@@ -77,11 +77,11 @@ [email protected] | |||
77 | [email protected] | 77 | [email protected] |
78 | [email protected] "(" | 78 | [email protected] "(" |
79 | [email protected] | 79 | [email protected] |
80 | PLACEHOLDE[email protected] | 80 | WILDCARD[email protected] |
81 | [email protected] "_" | 81 | [email protected] "_" |
82 | [email protected] ":" | 82 | [email protected] ":" |
83 | [email protected] " " | 83 | [email protected] " " |
84 | POINTE[email protected] | 84 | [email protected] |
85 | [email protected] "*" | 85 | [email protected] "*" |
86 | [email protected] "mut" | 86 | [email protected] "mut" |
87 | [email protected] " " | 87 | [email protected] " " |
@@ -108,17 +108,17 @@ [email protected] | |||
108 | [email protected] | 108 | [email protected] |
109 | [email protected] | 109 | [email protected] |
110 | [email protected] "[" | 110 | [email protected] "[" |
111 | BIN[email protected] | 111 | IDENT[email protected] |
112 | [email protected] | 112 | [email protected] |
113 | [email protected] "w" | 113 | [email protected] "w" |
114 | [email protected] "," | 114 | [email protected] "," |
115 | [email protected] " " | 115 | [email protected] " " |
116 | BIN[email protected] | 116 | IDENT[email protected] |
117 | [email protected] | 117 | [email protected] |
118 | [email protected] "t" | 118 | [email protected] "t" |
119 | [email protected] "," | 119 | [email protected] "," |
120 | [email protected] " " | 120 | [email protected] " " |
121 | BIN[email protected] | 121 | IDENT[email protected] |
122 | [email protected] | 122 | [email protected] |
123 | [email protected] "f" | 123 | [email protected] "f" |
124 | [email protected] "]" | 124 | [email protected] "]" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast b/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast index a0423806c..a3c6ed82e 100644 --- a/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast +++ b/crates/ra_syntax/test_data/parser/ok/0064_impl_fn_params.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..136 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -8,10 +8,10 @@ [email protected] | |||
8 | [email protected] | 8 | [email protected] |
9 | [email protected] "U" | 9 | [email protected] "U" |
10 | [email protected] " " | 10 | [email protected] " " |
11 | [email protected] | 11 | ASSOC_[email protected] |
12 | [email protected] "{" | 12 | [email protected] "{" |
13 | [email protected] "\n " | 13 | [email protected] "\n " |
14 | FN_DEF@13..45 | 14 | [email protected] |
15 | [email protected] "fn" | 15 | [email protected] "fn" |
16 | [email protected] " " | 16 | [email protected] " " |
17 | [email protected] | 17 | [email protected] |
@@ -21,12 +21,12 @@ [email protected] | |||
21 | [email protected] | 21 | [email protected] |
22 | [email protected] | 22 | [email protected] |
23 | [email protected] "(" | 23 | [email protected] "(" |
24 | BIN[email protected] | 24 | IDENT[email protected] |
25 | [email protected] | 25 | [email protected] |
26 | [email protected] "a" | 26 | [email protected] "a" |
27 | [email protected] "," | 27 | [email protected] "," |
28 | [email protected] " " | 28 | [email protected] " " |
29 | BIN[email protected] | 29 | IDENT[email protected] |
30 | [email protected] | 30 | [email protected] |
31 | [email protected] "b" | 31 | [email protected] "b" |
32 | [email protected] ")" | 32 | [email protected] ")" |
@@ -53,7 +53,7 @@ [email protected] | |||
53 | [email protected] "{" | 53 | [email protected] "{" |
54 | [email protected] "}" | 54 | [email protected] "}" |
55 | [email protected] "\n " | 55 | [email protected] "\n " |
56 | FN_DEF@50..73 | 56 | [email protected] |
57 | [email protected] "fn" | 57 | [email protected] "fn" |
58 | [email protected] " " | 58 | [email protected] " " |
59 | [email protected] | 59 | [email protected] |
@@ -67,17 +67,17 @@ [email protected] | |||
67 | [email protected] | 67 | [email protected] |
68 | [email protected] "S" | 68 | [email protected] "S" |
69 | [email protected] " " | 69 | [email protected] " " |
70 | RECORD_FIELD_PAT_[email protected] | 70 | RECORD_PAT_[email protected] |
71 | [email protected] "{" | 71 | [email protected] "{" |
72 | [email protected] " " | 72 | [email protected] " " |
73 | RECORD_FIELD_PAT@60..61 | 73 | RECORD_PAT_[email protected] |
74 | BIN[email protected] | 74 | IDENT[email protected] |
75 | [email protected] | 75 | [email protected] |
76 | [email protected] "a" | 76 | [email protected] "a" |
77 | [email protected] "," | 77 | [email protected] "," |
78 | [email protected] " " | 78 | [email protected] " " |
79 | RECORD_FIELD_PAT@63..64 | 79 | RECORD_PAT_[email protected] |
80 | BIN[email protected] | 80 | IDENT[email protected] |
81 | [email protected] | 81 | [email protected] |
82 | [email protected] "b" | 82 | [email protected] "b" |
83 | [email protected] " " | 83 | [email protected] " " |
@@ -95,7 +95,7 @@ [email protected] | |||
95 | [email protected] "{" | 95 | [email protected] "{" |
96 | [email protected] "}" | 96 | [email protected] "}" |
97 | [email protected] "\n " | 97 | [email protected] "\n " |
98 | FN_DEF@78..107 | 98 | [email protected] |
99 | [email protected] "fn" | 99 | [email protected] "fn" |
100 | [email protected] " " | 100 | [email protected] " " |
101 | [email protected] | 101 | [email protected] |
@@ -109,7 +109,7 @@ [email protected] | |||
109 | [email protected] | 109 | [email protected] |
110 | [email protected] "NewType" | 110 | [email protected] "NewType" |
111 | [email protected] "(" | 111 | [email protected] "(" |
112 | BIN[email protected] | 112 | IDENT[email protected] |
113 | [email protected] | 113 | [email protected] |
114 | [email protected] "a" | 114 | [email protected] "a" |
115 | [email protected] ")" | 115 | [email protected] ")" |
@@ -126,7 +126,7 @@ [email protected] | |||
126 | [email protected] "{" | 126 | [email protected] "{" |
127 | [email protected] "}" | 127 | [email protected] "}" |
128 | [email protected] "\n " | 128 | [email protected] "\n " |
129 | FN_DEF@112..134 | 129 | [email protected] |
130 | [email protected] "fn" | 130 | [email protected] "fn" |
131 | [email protected] " " | 131 | [email protected] " " |
132 | [email protected] | 132 | [email protected] |
@@ -138,14 +138,14 @@ [email protected] | |||
138 | [email protected] "&" | 138 | [email protected] "&" |
139 | [email protected] | 139 | [email protected] |
140 | [email protected] "&" | 140 | [email protected] "&" |
141 | BIN[email protected] | 141 | IDENT[email protected] |
142 | [email protected] | 142 | [email protected] |
143 | [email protected] "a" | 143 | [email protected] "a" |
144 | [email protected] ":" | 144 | [email protected] ":" |
145 | [email protected] " " | 145 | [email protected] " " |
146 | REFERENCE[email protected] | 146 | [email protected] |
147 | [email protected] "&" | 147 | [email protected] "&" |
148 | REFERENCE[email protected] | 148 | [email protected] |
149 | [email protected] "&" | 149 | [email protected] "&" |
150 | [email protected] | 150 | [email protected] |
151 | [email protected] | 151 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rast b/crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rast index d1fffdd63..29bd38c05 100644 --- a/crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rast +++ b/crates/ra_syntax/test_data/parser/ok/0065_comment_newline.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..25 | 2 | [email protected] |
3 | [email protected] "/// Example" | 3 | [email protected] "/// Example" |
4 | [email protected] "\n\n" | 4 | [email protected] "\n\n" |
5 | [email protected] "fn" | 5 | [email protected] "fn" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast b/crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast index eb2f8eb3c..2c699ffcb 100644 --- a/crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast +++ b/crates/ra_syntax/test_data/parser/ok/0065_plus_after_fn_trait_bound.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..39 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "f" | 6 | [email protected] "f" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
diff --git a/crates/ra_syntax/test_data/parser/ok/0066_default_const.rast b/crates/ra_syntax/test_data/parser/ok/0066_default_const.rast index dab0247ee..6246a31a6 100644 --- a/crates/ra_syntax/test_data/parser/ok/0066_default_const.rast +++ b/crates/ra_syntax/test_data/parser/ok/0066_default_const.rast | |||
@@ -1,5 +1,5 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | IMPL_DEF@0..45 | 2 | [email protected] |
3 | [email protected] "impl" | 3 | [email protected] "impl" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
@@ -16,10 +16,10 @@ [email protected] | |||
16 | [email protected] | 16 | [email protected] |
17 | [email protected] "Foo" | 17 | [email protected] "Foo" |
18 | [email protected] " " | 18 | [email protected] " " |
19 | [email protected] | 19 | ASSOC_[email protected] |
20 | [email protected] "{" | 20 | [email protected] "{" |
21 | [email protected] "\n " | 21 | [email protected] "\n " |
22 | CONST_DEF@19..43 | 22 | [email protected] |
23 | [email protected] "default" | 23 | [email protected] "default" |
24 | [email protected] " " | 24 | [email protected] " " |
25 | [email protected] "const" | 25 | [email protected] "const" |
diff --git a/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast b/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast index 503585103..8f8639a37 100644 --- a/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast +++ b/crates/ra_syntax/test_data/parser/ok/0067_where_for_pred.rast | |||
@@ -1,10 +1,10 @@ | |||
1 | [email protected] | 1 | [email protected] |
2 | FN_DEF@0..55 | 2 | [email protected] |
3 | [email protected] "fn" | 3 | [email protected] "fn" |
4 | [email protected] " " | 4 | [email protected] " " |
5 | [email protected] | 5 | [email protected] |
6 | [email protected] "for_trait" | 6 | [email protected] "for_trait" |
7 | TYP[email protected] | 7 | GENERIC[email protected] |
8 | [email protected] "<" | 8 | [email protected] "<" |
9 | [email protected] | 9 | [email protected] |
10 | [email protected] | 10 | [email protected] |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] "\n " | 19 | [email protected] "\n " |
20 | [email protected] | 20 | [email protected] |
21 | [email protected] "for" | 21 | [email protected] "for" |
22 | TYP[email protected] | 22 | GENERIC[email protected] |
23 | [email protected] "<" | 23 | [email protected] "<" |
24 | [email protected] | 24 | [email protected] |
25 | [email protected] "\'a" | 25 | [email protected] "\'a" |
@@ -42,7 +42,7 @@ [email protected] | |||
42 | [email protected] | 42 | [email protected] |
43 | [email protected] "(" | 43 | [email protected] "(" |
44 | [email protected] | 44 | [email protected] |
45 | REFERENCE[email protected] | 45 | [email protected] |
46 | [email protected] "&" | 46 | [email protected] "&" |
47 | [email protected] "\'a" | 47 | [email protected] "\'a" |
48 | [email protected] " " | 48 | [email protected] " " |
@@ -59,12 +59,12 @@ [email protected] | |||
59 | [email protected] "\n" | 59 | [email protected] "\n" |
60 | [email protected] "}" | 60 | [email protected] "}" |
61 | [email protected] "\n" | 61 | [email protected] "\n" |
62 | FN_DEF@56..107 | 62 | [email protected] |
63 | [email protected] "fn" | 63 | [email protected] "fn" |
64 | [email protected] " " | 64 | [email protected] " " |
65 | [email protected] | 65 | [email protected] |
66 | [email protected] "for_ref" | 66 | [email protected] "for_ref" |
67 | TYP[email protected] | 67 | GENERIC[email protected] |
68 | [email protected] "<" | 68 | [email protected] "<" |
69 | [email protected] | 69 | [email protected] |
70 | [email protected] | 70 | [email protected] |
@@ -79,13 +79,13 @@ [email protected] | |||
79 | [email protected] "\n " | 79 | [email protected] "\n " |
80 | [email protected] | 80 | [email protected] |
81 | [email protected] "for" | 81 | [email protected] "for" |
82 | TYP[email protected] | 82 | GENERIC[email protected] |
83 | [email protected] "<" | 83 | [email protected] "<" |
84 | [email protected] | 84 | [email protected] |
85 | [email protected] "\'a" | 85 | [email protected] "\'a" |
86 | [email protected] ">" | 86 | [email protected] ">" |
87 | [email protected] " " | 87 | [email protected] " " |
88 | REFERENCE[email protected] | 88 | [email protected] |
89 | [email protected] "&" | 89 | [email protected] "&" |
90 | [email protected] "\'a" | 90 | [email protected] "\'a" |
91 | [email protected] " " | 91 | [email protected] " " |
@@ -110,12 +110,12 @@ [email protected] | |||
110 | [email protected] "\n" | 110 | [email protected] "\n" |
111 | [email protected] "}" | 111 | [email protected] "}" |
112 | [email protected] "\n" | 112 | [email protected] "\n" |
113 | FN_DEF@108..170 | 113 | [email protected] |
114 | [email protected] "fn" | 114 | [email protected] "fn" |
115 | [email protected] " " | 115 | [email protected] " " |
116 | [email protected] | 116 | [email protected] |
117 | [email protected] "for_parens" | 117 | [email protected] "for_parens" |
118 | TYP[email protected] | 118 | GENERIC[email protected] |
119 | [email protected] "<" | 119 | [email protected] "<" |
120 | [email protected] | 120 | [email protected] |
121 | [email protected] | 121 | [email protected] |
@@ -130,7 +130,7 @@ [email protected] | |||
130 | [email protected] "\n " | 130 | [email protected] "\n " |
131 | [email protected] | 131 | [email protected] |
132 | [email protected] "for" | 132 | [email protected] "for" |
133 | TYP[email protected] | 133 | GENERIC[email protected] |
134 | [email protected] "<" | 134 | [email protected] "<" |
135 | [email protected] | 135 | [email protected] |
136 | [email protected] "\'a" | 136 | [email protected] "\'a" |
@@ -138,7 +138,7 @@ [email protected] | |||
138 | [email protected] " " | 138 | [email protected] " " |
139 | [email protected] | 139 | [email protected] |
140 | [email protected] "(" | 140 | [email protected] "(" |
141 | REFERENCE[email protected] | 141 | [email protected] |
142 | [email protected] "&" | 142 | [email protected] "&" |
143 | [email protected] "\'a" | 143 | [email protected] "\'a" |
144 | [email protected] " " | 144 | [email protected] " " |
@@ -160,7 +160,7 @@ [email protected] | |||
160 | [email protected] | 160 | [email protected] |
161 | [email protected] "(" | 161 | [email protected] "(" |
162 | [email protected] | 162 | [email protected] |
163 | REFERENCE[email protected] | 163 | [email protected] |
164 | [email protected] "&" | 164 | [email protected] "&" |
165 | [email protected] "\'a" | 165 | [email protected] "\'a" |
166 | [email protected] " " | 166 | [email protected] " " |
@@ -177,12 +177,12 @@ [email protected] | |||
177 | [email protected] "\n" | 177 | [email protected] "\n" |
178 | [email protected] "}" | 178 | [email protected] "}" |
179 | [email protected] "\n" | 179 | [email protected] "\n" |
180 | FN_DEF@171..223 | 180 | [email protected] |
181 | [email protected] "fn" | 181 | [email protected] "fn" |
182 | [email protected] " " | 182 | [email protected] " " |
183 | [email protected] | 183 | [email protected] |
184 | [email protected] "for_slice" | 184 | [email protected] "for_slice" |
185 | TYP[email protected] | 185 | GENERIC[email protected] |
186 | [email protected] "<" | 186 | [email protected] "<" |
187 | [email protected] | 187 | [email protected] |
188 | [email protected] | 188 | [email protected] |
@@ -197,7 +197,7 @@ [email protected] | |||
197 | [email protected] "\n " | 197 | [email protected] "\n " |
198 | [email protected] | 198 | [email protected] |
199 | [email protected] "for" | 199 | [email protected] "for" |
200 | TYP[email protected] | 200 | GENERIC[email protected] |
201 | [email protected] "<" | 201 | [email protected] "<" |
202 | [email protected] | 202 | [email protected] |
203 | [email protected] "\'a" | 203 | [email protected] "\'a" |
@@ -205,7 +205,7 @@ [email protected] | |||
205 | [email protected] " " | 205 | [email protected] " " |
206 | [email protected] | 206 | [email protected] |
207 | [email protected] "[" | 207 | [email protected] "[" |
208 | REFERENCE[email protected] | 208 | [email protected] |
209 | [email protected] "&" | 209 | [email protected] "&" |
210 | [email protected] "\'a" | 210 | [email protected] "\'a" |
211 | [email protected] " " | 211 | [email protected] " " |
@@ -231,12 +231,12 @@ [email protected] | |||
231 | [email protected] "\n" | 231 | [email protected] "\n" |
232 | [email protected] "}" | 232 | [email protected] "}" |
233 | [email protected] "\n" | 233 | [email protected] "\n" |
234 | FN_DEF@224..300 | 234 | [email protected] |
235 | [email protected] "fn" | 235 | [email protected] "fn" |
236 | [email protected] " " | 236 | [email protected] " " |
237 | [email protected] | 237 | [email protected] |
238 | [email protected] "for_qpath" | 238 | [email protected] "for_qpath" |
239 | TYP[email protected] | 239 | GENERIC[email protected] |
240 | [email protected] "<" | 240 | [email protected] "<" |
241 | [email protected] | 241 | [email protected] |
242 | [email protected] | 242 | [email protected] |
@@ -245,12 +245,12 @@ [email protected] | |||
245 | [email protected] | 245 | [email protected] |
246 | [email protected] "(" | 246 | [email protected] "(" |
247 | [email protected] | 247 | [email protected] |
248 | BIN[email protected] | 248 | IDENT[email protected] |
249 | [email protected] | 249 | [email protected] |
250 | [email protected] "_t" | 250 | [email protected] "_t" |
251 | [email protected] ":" | 251 | [email protected] ":" |
252 | [email protected] " " | 252 | [email protected] " " |
253 | REFERENCE[email protected] | 253 | [email protected] |
254 | [email protected] "&" | 254 | [email protected] "&" |
255 | [email protected] | 255 | [email protected] |
256 | [email protected] | 256 | [email protected] |
@@ -264,7 +264,7 @@ [email protected] | |||
264 | [email protected] "\n " | 264 | [email protected] "\n " |
265 | [email protected] | 265 | [email protected] |
266 | [email protected] "for" | 266 | [email protected] "for" |
267 | TYP[email protected] | 267 | GENERIC[email protected] |
268 | [email protected] "<" | 268 | [email protected] "<" |
269 | [email protected] | 269 | [email protected] |
270 | [email protected] "\'a" | 270 | [email protected] "\'a" |
@@ -275,7 +275,7 @@ [email protected] | |||
275 | [email protected] | 275 | [email protected] |
276 | [email protected] | 276 | [email protected] |
277 | [email protected] "<" | 277 | [email protected] "<" |
278 | REFERENCE[email protected] | 278 | [email protected] |
279 | [email protected] "&" | 279 | [email protected] "&" |
280 | [email protected] "\'a" | 280 | [email protected] "\'a" |
281 | [email protected] " " | 281 | [email protected] " " |
@@ -313,12 +313,12 @@ [email protected] | |||
313 | [email protected] "\n" | 313 | [email protected] "\n" |
314 | [email protected] "}" | 314 | [email protected] "}" |
315 | [email protected] "\n" | 315 | [email protected] "\n" |
316 | FN_DEF@301..373 | 316 | [email protected] |
317 | [email protected] "fn" | 317 | [email protected] "fn" |
318 | [email protected] " " | 318 | [email protected] " " |
319 | [email protected] | 319 | [email protected] |
320 | [email protected] "for_for_fn" | 320 | [email protected] "for_for_fn" |
321 | TYP[email protected] | 321 | GENERIC[email protected] |
322 | [email protected] "<" | 322 | [email protected] "<" |
323 | [email protected] | 323 | [email protected] |
324 | [email protected] | 324 | [email protected] |
@@ -333,7 +333,7 @@ [email protected] | |||
333 | [email protected] "\n " | 333 | [email protected] "\n " |
334 | [email protected] | 334 | [email protected] |
335 | [email protected] "for" | 335 | [email protected] "for" |
336 | TYP[email protected] | 336 | GENERIC[email protected] |
337 | [email protected] "<" | 337 | [email protected] "<" |
338 | [email protected] | 338 | [email protected] |
339 | [email protected] "\'a" | 339 | [email protected] "\'a" |
@@ -341,18 +341,18 @@ [email protected] | |||
341 | [email protected] " " | 341 | [email protected] " " |
342 | [email protected] | 342 | [email protected] |
343 | [email protected] "for" | 343 | [email protected] "for" |
344 | TYP[email protected] | 344 | GENERIC[email protected] |
345 | [email protected] "<" | 345 | [email protected] "<" |
346 | [email protected] | 346 | [email protected] |
347 | [email protected] "\'b" | 347 | [email protected] "\'b" |
348 | [email protected] ">" | 348 | [email protected] ">" |
349 | [email protected] " " | 349 | [email protected] " " |
350 | FN_POINTE[email protected] | 350 | [email protected] |
351 | [email protected] "fn" | 351 | [email protected] "fn" |
352 | [email protected] | 352 | [email protected] |
353 | [email protected] "(" | 353 | [email protected] "(" |
354 | [email protected] | 354 | [email protected] |
355 | REFERENCE[email protected] | 355 | [email protected] |
356 | [email protected] "&" | 356 | [email protected] "&" |
357 | [email protected] "\'a" | 357 | [email protected] "\'a" |
358 | [email protected] " " | 358 | [email protected] " " |
@@ -364,7 +364,7 @@ [email protected] | |||
364 | [email protected] "," | 364 | [email protected] "," |
365 | [email protected] " " | 365 | [email protected] " " |
366 | [email protected] | 366 | [email protected] |
367 | REFERENCE[email protected] | 367 | [email protected] |
368 | [email protected] "&" | 368 | [email protected] "&" |
369 | [email protected] "\'b" | 369 | [email protected] "\'b" |
370 | [email protected] " " | 370 | [email protected] " " |