diff options
Diffstat (limited to 'crates/ra_syntax/test_data')
254 files changed, 679 insertions, 679 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/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/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..1c3e0f65b 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] |
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..d62906b99 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" |
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..3eef848fc 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,10 +7,10 @@ [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] |
@@ -47,7 +47,7 @@ [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..bb4a28f4e 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] |
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 a87e5061a..1ce5f188f 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 | |||
@@ -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@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] |
@@ -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..f6fa964b7 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] |
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..ba4ce4795 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] |
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..02339d035 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] |
@@ -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] |
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..4c2d1ad68 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" |
@@ -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] |
@@ -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" |
@@ -242,7 +242,7 @@ [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" |
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..fca646557 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] ":" |
@@ -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] |
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 254ff546a..8c8bf7b7e 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 | [email protected] | 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] |
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] "\n" | 19 | [email protected] "\n" |
20 | [email protected] | 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] |
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..bfcd0149e 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] |
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..55ff3943f 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] |
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..ec9f556aa 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] |
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..063532e02 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] |
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..303a49576 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] |
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 0415085b0..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 | |||
@@ -34,7 +34,7 @@ [email protected] | |||
34 | [email protected] | 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/0037_visibility_in_traits.rast b/crates/ra_syntax/test_data/parser/err/0037_visibility_in_traits.rast index bc446e3df..b1400aa5f 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 | |||
@@ -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 | 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..a98c31b0c 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] |
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 6ca1a4870..f041fa6f7 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 | |||
@@ -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..082625c13 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,7 +9,7 @@ [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" |
@@ -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" |
@@ -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,7 +101,7 @@ [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" |
@@ -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,7 +172,7 @@ [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" |
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/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..8b0a888fd 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] |
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..2409eefe7 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] |
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..3f3a7f1b9 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] |
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 5501dc5a6..22c7c5f0d 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 | |||
@@ -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/ok/0001_trait_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast index f422acdda..955e00dde 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 | |||
@@ -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 | 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/0003_where_pred_for.rast b/crates/ra_syntax/test_data/parser/inline/ok/0003_where_pred_for.rast index cd0892451..b0f2b5888 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" |
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..ace8ad050 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] |
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 0cd1dffc9..87c170707 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 | |||
@@ -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@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] |
@@ -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..3ce2acfae 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] |
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..845b32e6d 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] |
@@ -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] |
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/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 79148e953..e75180900 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 | |||
@@ -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@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] |
@@ -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] |
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/0021_impl_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast index 31b5b6616..52181ca0c 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 | |||
@@ -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 | 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..57008e5fe 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] |
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..dea0c73f7 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] |
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..e5f550347 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] |
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..9e76d881e 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] |
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..f45f3cab8 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] |
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..381284dc5 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] |
@@ -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] |
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..ffe1a3a01 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] |
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..79a5ee339 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] |
@@ -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 | 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] |
@@ -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] |
@@ -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] |
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..c522f76cf 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] |
@@ -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 | 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] |
@@ -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] |
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..2185d3c91 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] |
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 884ab2dbf..8f20ccaa3 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 | |||
@@ -4,7 +4,7 @@ [email protected] | |||
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] |
@@ -57,7 +57,7 @@ [email protected] | |||
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] |
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..40875ae1e 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] |
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..d4235a8b1 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] |
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/0048_path_type_with_bounds.rast b/crates/ra_syntax/test_data/parser/inline/ok/0048_path_type_with_bounds.rast index b209f67f8..37757ccd4 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] |
@@ -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] |
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 5f1429102..02c57079f 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 | |||
@@ -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@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..2bfb52453 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] |
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..fa659c19b 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] |
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/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..629fea99d 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] |
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..37ca478e6 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] |
@@ -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] ":" |
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/0070_stmt_bin_expr_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0070_stmt_bin_expr_ambiguity.rast index f8ff7079b..4c1165dc8 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] |
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..673d396ee 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] |
@@ -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..3ca70f021 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] |
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..5cefc5076 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] |
@@ -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/0080_postfix_range.rast b/crates/ra_syntax/test_data/parser/inline/ok/0080_postfix_range.rast index 462d1a8bb..3c80846db 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] |
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..e7629ac03 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,7 +9,7 @@ [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" |
@@ -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,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" |
@@ -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" |
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..1563b1988 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] |
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..ded36949a 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] |
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/0088_break_ambiguity.rast b/crates/ra_syntax/test_data/parser/inline/ok/0088_break_ambiguity.rast index 7e71d7373..34f520994 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] |
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/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..95686977f 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] |
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/0095_placeholder_pat.rast b/crates/ra_syntax/test_data/parser/inline/ok/0095_placeholder_pat.rast index 67d9595d3..25706d2a4 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] |
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..cb5316a0d 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] |
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..1627556c8 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] |
@@ -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] |
@@ -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] |
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..766de4efe 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] |
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..fe1c290c3 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] |
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..3f53d60c0 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] |
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..51a6c5170 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] |
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..b2961b0ff 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] |
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..a6a169f1b 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] |
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..432318da0 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] |
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..3cd554d45 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] |
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 ea54347fc..f2561abd6 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,10 +1,10 @@ | |||
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" |
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..aaaf803b7 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] |
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..4b5f9cdc9 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] |
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..54cc3be3a 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] |
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..edac8d5d9 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] |
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..f155743cf 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] |
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..931e81f27 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] |
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..0fe3bf582 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] |
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..48f483813 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] |
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 3772cb64b..de02238df 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 | |||
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] | 19 | [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..157513565 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] |
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..a7f87c020 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] |
@@ -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..36fd2997b 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] |
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..d11019076 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] |
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..09fd9e9b8 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] |
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..8d0f1ead5 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] |
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..b41ef4098 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] |
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..2d0c83458 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] |
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..0c35bf2b7 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,5 +1,5 @@ | |||
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] |
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 77e12cad6..07e555d63 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 | [email protected] | 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" |
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..e2a770a37 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 | |||
@@ -4,7 +4,7 @@ [email protected] | |||
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] |
@@ -36,7 +36,7 @@ [email protected] | |||
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] |
@@ -87,7 +87,7 @@ [email protected] | |||
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] |
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..69b4d73d7 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] |
@@ -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] |
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..c63a55a56 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] |
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..3b8dfefc6 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] |
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..4d4c41f1a 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] |
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..ccca045b6 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] |
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..9c071ec2e 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] |
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 c0b8c0300..680f35445 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 | |||
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] | 19 | [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/0164_type_path_in_pattern.rast b/crates/ra_syntax/test_data/parser/inline/ok/0164_type_path_in_pattern.rast index 868899275..f5e20b93d 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] |
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/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/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/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..efe018484 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] |
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..47e46f009 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] |
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..93f766149 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] |
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 63693de4f..4bcf07ffb 100644 --- a/crates/ra_syntax/test_data/parser/ok/0030_traits.rast +++ b/crates/ra_syntax/test_data/parser/ok/0030_traits.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@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] |
@@ -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 | 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] |
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..0509f7504 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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
@@ -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] " " |
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..10da87c71 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" |
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..b3f29638c 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" |
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 bbdf896d1..b04a505ea 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 | |||
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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,21 +1560,21 @@ [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] ":" |
@@ -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] |
@@ -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..92ede8ccb 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] |
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 573edc081..c4ffc0a3d 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,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 | 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] |
@@ -20,7 +20,7 @@ [email protected] | |||
20 | [email protected] | 20 | [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] |
@@ -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..c9e6d88eb 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" |
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 69aa0ba4d..5ebc53618 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] |
@@ -101,7 +101,7 @@ [email protected] | |||
101 | [email protected] | 101 | [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] |
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..7a54fa113 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] |
@@ -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..662576e5f 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] |
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..798e81ca6 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] |
@@ -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 919c690de..8081eefbc 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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -195,7 +195,7 @@ [email protected] | |||
195 | [email protected] | 195 | [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] |
@@ -263,7 +263,7 @@ [email protected] | |||
263 | [email protected] | 263 | [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] |
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..a30000398 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] |
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..e3997ac5b 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] |
@@ -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] |
@@ -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] |
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..53410a1ee 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] |
@@ -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..767b516a2 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] |
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 40619b46e..a87bbf4eb 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 | |||
@@ -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@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] |
@@ -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] |
@@ -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] |
@@ -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] |
@@ -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] |
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..7adedb02e 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] |
@@ -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] |
@@ -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] |
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 7b026e33b..ef0eca47c 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 | |||
@@ -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@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] |
@@ -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] |
@@ -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] |
@@ -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] |
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 584b2faf1..485efe20c 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 | |||
@@ -19,7 +19,7 @@ [email protected] | |||
19 | [email protected] | 19 | [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..a368ac1e8 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" |
@@ -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,7 +79,7 @@ [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" |
@@ -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" |
@@ -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" |
@@ -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] |
@@ -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" |
@@ -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,7 +341,7 @@ [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" |