diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline')
28 files changed, 37 insertions, 37 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt b/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt index 036363587..f02027972 100644 --- a/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt +++ b/crates/ra_syntax/tests/data/parser/inline/err/0001_array_type_missing_semi.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 18) | 1 | SOURCE_FILE@[0; 18) |
2 | TYPE_DEF@[0; 12) | 2 | TYPE_ALIAS_DEF@[0; 12) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0003_pointer_type_no_mutability.txt b/crates/ra_syntax/tests/data/parser/inline/err/0003_pointer_type_no_mutability.txt index 189aa563e..b11171fd0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/err/0003_pointer_type_no_mutability.txt +++ b/crates/ra_syntax/tests/data/parser/inline/err/0003_pointer_type_no_mutability.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 14) | 1 | SOURCE_FILE@[0; 14) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_ALIAS_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt b/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt index f97db4bff..ab879db03 100644 --- a/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/err/0005_fn_pointer_type_missing_fn.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 20) | 1 | SOURCE_FILE@[0; 20) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_ALIAS_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0001_trait_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0001_trait_item_list.txt index de7df7312..7c9e1e621 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0001_trait_item_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0001_trait_item_list.txt | |||
@@ -11,7 +11,7 @@ SOURCE_FILE@[0; 83) | |||
11 | ITEM_LIST@[7; 82) | 11 | ITEM_LIST@[7; 82) |
12 | L_CURLY@[7; 8) | 12 | L_CURLY@[7; 8) |
13 | WHITESPACE@[8; 13) | 13 | WHITESPACE@[8; 13) |
14 | TYPE_DEF@[13; 27) | 14 | TYPE_ALIAS_DEF@[13; 27) |
15 | TYPE_KW@[13; 17) | 15 | TYPE_KW@[13; 17) |
16 | WHITESPACE@[17; 18) | 16 | WHITESPACE@[17; 18) |
17 | NAME@[18; 19) | 17 | NAME@[18; 19) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0004_value_parameters_no_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0004_value_parameters_no_patterns.txt index f2d7e866b..90284a2aa 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0004_value_parameters_no_patterns.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0004_value_parameters_no_patterns.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 54) | 1 | SOURCE_FILE@[0; 54) |
2 | TYPE_DEF@[0; 53) | 2 | TYPE_ALIAS_DEF@[0; 53) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0012_type_item_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0012_type_item_where_clause.txt index dbb705acf..9a5f46bab 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0012_type_item_where_clause.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0012_type_item_where_clause.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 31) | 1 | SOURCE_FILE@[0; 31) |
2 | TYPE_DEF@[0; 30) | 2 | TYPE_ALIAS_DEF@[0; 30) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 8) | 5 | NAME@[5; 8) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0013_pointer_type_mut.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0013_pointer_type_mut.txt index 149cd571d..8f1d9ca98 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0013_pointer_type_mut.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0013_pointer_type_mut.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 36) | 1 | SOURCE_FILE@[0; 36) |
2 | TYPE_DEF@[0; 17) | 2 | TYPE_ALIAS_DEF@[0; 17) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
@@ -16,7 +16,7 @@ SOURCE_FILE@[0; 36) | |||
16 | R_PAREN@[15; 16) | 16 | R_PAREN@[15; 16) |
17 | SEMI@[16; 17) | 17 | SEMI@[16; 17) |
18 | WHITESPACE@[17; 18) | 18 | WHITESPACE@[17; 18) |
19 | TYPE_DEF@[18; 35) | 19 | TYPE_ALIAS_DEF@[18; 35) |
20 | TYPE_KW@[18; 22) | 20 | TYPE_KW@[18; 22) |
21 | WHITESPACE@[22; 23) | 21 | WHITESPACE@[22; 23) |
22 | NAME@[23; 24) | 22 | NAME@[23; 24) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0014_never_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0014_never_type.txt index e0cae644d..eaa6eb1c0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0014_never_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0014_never_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_ALIAS_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 10) | 5 | NAME@[5; 10) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0017_array_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0017_array_type.txt index 2c2b615fc..de09902bb 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0017_array_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0017_array_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | TYPE_DEF@[0; 18) | 2 | TYPE_ALIAS_DEF@[0; 18) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0021_impl_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0021_impl_item_list.txt index 50426bdfe..08a0b786d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0021_impl_item_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0021_impl_item_list.txt | |||
@@ -11,7 +11,7 @@ SOURCE_FILE@[0; 89) | |||
11 | ITEM_LIST@[7; 88) | 11 | ITEM_LIST@[7; 88) |
12 | L_CURLY@[7; 8) | 12 | L_CURLY@[7; 8) |
13 | WHITESPACE@[8; 13) | 13 | WHITESPACE@[8; 13) |
14 | TYPE_DEF@[13; 26) | 14 | TYPE_ALIAS_DEF@[13; 26) |
15 | TYPE_KW@[13; 17) | 15 | TYPE_KW@[13; 17) |
16 | WHITESPACE@[17; 18) | 16 | WHITESPACE@[17; 18) |
17 | NAME@[18; 19) | 17 | NAME@[18; 19) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0023_placeholder_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0023_placeholder_type.txt index 43ada95d4..bb9bb57ea 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0023_placeholder_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0023_placeholder_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 22) | 1 | SOURCE_FILE@[0; 22) |
2 | TYPE_DEF@[0; 21) | 2 | TYPE_ALIAS_DEF@[0; 21) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 16) | 5 | NAME@[5; 16) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0025_slice_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0025_slice_type.txt index db18c7139..c5f70ca3a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0025_slice_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0025_slice_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 15) | 1 | SOURCE_FILE@[0; 15) |
2 | TYPE_DEF@[0; 14) | 2 | TYPE_ALIAS_DEF@[0; 14) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0028_impl_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0028_impl_trait_type.txt index efd4dd42a..3b676fb4c 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0028_impl_trait_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0028_impl_trait_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 43) | 1 | SOURCE_FILE@[0; 43) |
2 | TYPE_DEF@[0; 42) | 2 | TYPE_ALIAS_DEF@[0; 42) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0032_fn_pointer_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0032_fn_pointer_type.txt index 0c508ec27..d0aa429fd 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0032_fn_pointer_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0032_fn_pointer_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 70) | 1 | SOURCE_FILE@[0; 70) |
2 | TYPE_DEF@[0; 14) | 2 | TYPE_ALIAS_DEF@[0; 14) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
@@ -14,7 +14,7 @@ SOURCE_FILE@[0; 70) | |||
14 | R_PAREN@[12; 13) | 14 | R_PAREN@[12; 13) |
15 | SEMI@[13; 14) | 15 | SEMI@[13; 14) |
16 | WHITESPACE@[14; 15) | 16 | WHITESPACE@[14; 15) |
17 | TYPE_DEF@[15; 36) | 17 | TYPE_ALIAS_DEF@[15; 36) |
18 | TYPE_KW@[15; 19) | 18 | TYPE_KW@[15; 19) |
19 | WHITESPACE@[19; 20) | 19 | WHITESPACE@[19; 20) |
20 | NAME@[20; 21) | 20 | NAME@[20; 21) |
@@ -31,7 +31,7 @@ SOURCE_FILE@[0; 70) | |||
31 | R_PAREN@[34; 35) | 31 | R_PAREN@[34; 35) |
32 | SEMI@[35; 36) | 32 | SEMI@[35; 36) |
33 | WHITESPACE@[36; 37) | 33 | WHITESPACE@[36; 37) |
34 | TYPE_DEF@[37; 69) | 34 | TYPE_ALIAS_DEF@[37; 69) |
35 | TYPE_KW@[37; 41) | 35 | TYPE_KW@[37; 41) |
36 | WHITESPACE@[41; 42) | 36 | WHITESPACE@[41; 42) |
37 | NAME@[42; 43) | 37 | NAME@[42; 43) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0033_reference_type;.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0033_reference_type;.txt index 7f35254d1..c015dddeb 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0033_reference_type;.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0033_reference_type;.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 54) | 1 | SOURCE_FILE@[0; 54) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_ALIAS_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
@@ -14,7 +14,7 @@ SOURCE_FILE@[0; 54) | |||
14 | R_PAREN@[11; 12) | 14 | R_PAREN@[11; 12) |
15 | SEMI@[12; 13) | 15 | SEMI@[12; 13) |
16 | WHITESPACE@[13; 14) | 16 | WHITESPACE@[13; 14) |
17 | TYPE_DEF@[14; 35) | 17 | TYPE_ALIAS_DEF@[14; 35) |
18 | TYPE_KW@[14; 18) | 18 | TYPE_KW@[14; 18) |
19 | WHITESPACE@[18; 19) | 19 | WHITESPACE@[18; 19) |
20 | NAME@[19; 20) | 20 | NAME@[19; 20) |
@@ -31,7 +31,7 @@ SOURCE_FILE@[0; 54) | |||
31 | R_PAREN@[33; 34) | 31 | R_PAREN@[33; 34) |
32 | SEMI@[34; 35) | 32 | SEMI@[34; 35) |
33 | WHITESPACE@[35; 36) | 33 | WHITESPACE@[35; 36) |
34 | TYPE_DEF@[36; 53) | 34 | TYPE_ALIAS_DEF@[36; 53) |
35 | TYPE_KW@[36; 40) | 35 | TYPE_KW@[36; 40) |
36 | WHITESPACE@[40; 41) | 36 | WHITESPACE@[40; 41) |
37 | NAME@[41; 42) | 37 | NAME@[41; 42) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0037_qual_paths.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0037_qual_paths.txt index 394fc7f5b..fbc548695 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0037_qual_paths.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0037_qual_paths.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 71) | 1 | SOURCE_FILE@[0; 71) |
2 | TYPE_DEF@[0; 26) | 2 | TYPE_ALIAS_DEF@[0; 26) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0039_type_arg.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0039_type_arg.txt index ccef7188f..cef13b6aa 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0039_type_arg.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0039_type_arg.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 36) | 1 | SOURCE_FILE@[0; 36) |
2 | TYPE_DEF@[0; 35) | 2 | TYPE_ALIAS_DEF@[0; 35) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0046_singleton_tuple_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0046_singleton_tuple_type.txt index 173c325d0..33549028b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0046_singleton_tuple_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0046_singleton_tuple_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 17) | 1 | SOURCE_FILE@[0; 17) |
2 | TYPE_DEF@[0; 16) | 2 | TYPE_ALIAS_DEF@[0; 16) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0051_unit_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0051_unit_type.txt index 9fd19ba4a..5a6a2a829 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0051_unit_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0051_unit_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 13) | 1 | SOURCE_FILE@[0; 13) |
2 | TYPE_DEF@[0; 12) | 2 | TYPE_ALIAS_DEF@[0; 12) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0052_path_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0052_path_type.txt index b72b96e95..0531b8fba 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0052_path_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0052_path_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 71) | 1 | SOURCE_FILE@[0; 71) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_ALIAS_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
@@ -14,7 +14,7 @@ SOURCE_FILE@[0; 71) | |||
14 | IDENT@[9; 12) "Foo" | 14 | IDENT@[9; 12) "Foo" |
15 | SEMI@[12; 13) | 15 | SEMI@[12; 13) |
16 | WHITESPACE@[13; 14) | 16 | WHITESPACE@[13; 14) |
17 | TYPE_DEF@[14; 29) | 17 | TYPE_ALIAS_DEF@[14; 29) |
18 | TYPE_KW@[14; 18) | 18 | TYPE_KW@[14; 18) |
19 | WHITESPACE@[18; 19) | 19 | WHITESPACE@[18; 19) |
20 | NAME@[19; 20) | 20 | NAME@[19; 20) |
@@ -30,7 +30,7 @@ SOURCE_FILE@[0; 71) | |||
30 | IDENT@[25; 28) "Foo" | 30 | IDENT@[25; 28) "Foo" |
31 | SEMI@[28; 29) | 31 | SEMI@[28; 29) |
32 | WHITESPACE@[29; 30) | 32 | WHITESPACE@[29; 30) |
33 | TYPE_DEF@[30; 49) | 33 | TYPE_ALIAS_DEF@[30; 49) |
34 | TYPE_KW@[30; 34) | 34 | TYPE_KW@[30; 34) |
35 | WHITESPACE@[34; 35) | 35 | WHITESPACE@[34; 35) |
36 | NAME@[35; 36) | 36 | NAME@[35; 36) |
@@ -49,7 +49,7 @@ SOURCE_FILE@[0; 71) | |||
49 | IDENT@[45; 48) "Foo" | 49 | IDENT@[45; 48) "Foo" |
50 | SEMI@[48; 49) | 50 | SEMI@[48; 49) |
51 | WHITESPACE@[49; 50) | 51 | WHITESPACE@[49; 50) |
52 | TYPE_DEF@[50; 70) | 52 | TYPE_ALIAS_DEF@[50; 70) |
53 | TYPE_KW@[50; 54) | 53 | TYPE_KW@[50; 54) |
54 | WHITESPACE@[54; 55) | 54 | WHITESPACE@[54; 55) |
55 | NAME@[55; 56) | 55 | NAME@[55; 56) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0065_dyn_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0065_dyn_trait_type.txt index d07fe70b2..f6a0967f2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0065_dyn_trait_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0065_dyn_trait_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 42) | 1 | SOURCE_FILE@[0; 42) |
2 | TYPE_DEF@[0; 41) | 2 | TYPE_ALIAS_DEF@[0; 41) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0073_type_item_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0073_type_item_type_params.txt index 89b34d4f1..49ce9ad5e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0073_type_item_type_params.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0073_type_item_type_params.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | TYPE_DEF@[0; 20) | 2 | TYPE_ALIAS_DEF@[0; 20) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 11) | 5 | NAME@[5; 11) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0078_type_item.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0078_type_item.txt index 4b66a05a6..a62a9d1e7 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0078_type_item.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0078_type_item.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_ALIAS_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 8) | 5 | NAME@[5; 8) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0081_for_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0081_for_type.txt index 843cc4973..6e7e6bda1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0081_for_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0081_for_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 29) | 1 | SOURCE_FILE@[0; 29) |
2 | TYPE_DEF@[0; 28) | 2 | TYPE_ALIAS_DEF@[0; 28) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0084_paren_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0084_paren_type.txt index bd5feb6b3..76b52bf89 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0084_paren_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0084_paren_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_ALIAS_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt index f092c6df7..dc42a5c00 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0092_fn_pointer_type_with_ret.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | TYPE_DEF@[0; 20) | 2 | TYPE_ALIAS_DEF@[0; 20) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0104_path_fn_trait_args.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0104_path_fn_trait_args.txt index ba1163c2d..0254c998d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0104_path_fn_trait_args.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0104_path_fn_trait_args.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 32) | 1 | SOURCE_FILE@[0; 32) |
2 | TYPE_DEF@[0; 31) | 2 | TYPE_ALIAS_DEF@[0; 31) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/ok/0117_macro_call_type.txt b/crates/ra_syntax/tests/data/parser/inline/ok/0117_macro_call_type.txt index b2d95451c..608b4a5f0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/ok/0117_macro_call_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/ok/0117_macro_call_type.txt | |||
@@ -1,5 +1,5 @@ | |||
1 | SOURCE_FILE@[0; 41) | 1 | SOURCE_FILE@[0; 41) |
2 | TYPE_DEF@[0; 16) | 2 | TYPE_ALIAS_DEF@[0; 16) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
5 | NAME@[5; 6) | 5 | NAME@[5; 6) |
@@ -18,7 +18,7 @@ SOURCE_FILE@[0; 41) | |||
18 | R_PAREN@[14; 15) | 18 | R_PAREN@[14; 15) |
19 | SEMI@[15; 16) | 19 | SEMI@[15; 16) |
20 | WHITESPACE@[16; 17) | 20 | WHITESPACE@[16; 17) |
21 | TYPE_DEF@[17; 40) | 21 | TYPE_ALIAS_DEF@[17; 40) |
22 | TYPE_KW@[17; 21) | 22 | TYPE_KW@[17; 21) |
23 | WHITESPACE@[21; 22) | 23 | WHITESPACE@[21; 22) |
24 | NAME@[22; 23) | 24 | NAME@[22; 23) |