diff options
Diffstat (limited to 'crates/ra_syntax/tests/data/parser/inline')
113 files changed, 113 insertions, 113 deletions
diff --git a/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt index 956532981..814c9f1a0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0001_const_unsafe_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 25) | 1 | SOURCE_FILE@[0; 25) |
2 | FN_DEF@[0; 24) | 2 | FN_DEF@[0; 24) |
3 | CONST_KW@[0; 5) | 3 | CONST_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt index bda875fc5..8206d973b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0002_const_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 18) | 1 | SOURCE_FILE@[0; 18) |
2 | FN_DEF@[0; 17) | 2 | FN_DEF@[0; 17) |
3 | CONST_KW@[0; 5) | 3 | CONST_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt index 2c2bbd035..7e79c2280 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0003_extern_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 10) | 1 | SOURCE_FILE@[0; 10) |
2 | EXTERN_BLOCK@[0; 9) | 2 | EXTERN_BLOCK@[0; 9) |
3 | ABI@[0; 6) | 3 | ABI@[0; 6) |
4 | EXTERN_KW@[0; 6) | 4 | EXTERN_KW@[0; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt index f6e769475..d2b26566d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0004_extern_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | FN_DEF@[0; 18) | 2 | FN_DEF@[0; 18) |
3 | ABI@[0; 6) | 3 | ABI@[0; 6) |
4 | EXTERN_KW@[0; 6) | 4 | EXTERN_KW@[0; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt index fc025b0f3..7ffdc7fbd 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0005_extern_crate.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 18) | 1 | SOURCE_FILE@[0; 18) |
2 | EXTERN_CRATE_ITEM@[0; 17) | 2 | EXTERN_CRATE_ITEM@[0; 17) |
3 | EXTERN_KW@[0; 6) | 3 | EXTERN_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt index fb97cc042..3669c93a8 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0007_unsafe_trait.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 18) | 1 | SOURCE_FILE@[0; 18) |
2 | TRAIT_DEF@[0; 17) | 2 | TRAIT_DEF@[0; 17) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt index fa596394f..f9c96c242 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0008_unsafe_impl.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | IMPL_ITEM@[0; 18) | 2 | IMPL_ITEM@[0; 18) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt index e642bbf80..b541ceff8 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0009_unsafe_auto_trait.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 23) | 1 | SOURCE_FILE@[0; 23) |
2 | TRAIT_DEF@[0; 22) | 2 | TRAIT_DEF@[0; 22) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt index 99d33a902..6003ba645 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0010_unsafe_default_impl.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 27) | 1 | SOURCE_FILE@[0; 27) |
2 | IMPL_ITEM@[0; 26) | 2 | IMPL_ITEM@[0; 26) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt index 39ec53b26..5498dbcbb 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0011_unsafe_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | FN_DEF@[0; 18) | 2 | FN_DEF@[0; 18) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt index 54e296ed6..0cde40595 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0012_unsafe_extern_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 30) | 1 | SOURCE_FILE@[0; 30) |
2 | FN_DEF@[0; 29) | 2 | FN_DEF@[0; 29) |
3 | UNSAFE_KW@[0; 6) | 3 | UNSAFE_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt index 9825e5ace..d2da2bad7 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0013_unsafe_block_in_mod.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 33) | 1 | SOURCE_FILE@[0; 33) |
2 | FN_DEF@[0; 10) | 2 | FN_DEF@[0; 10) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt index bf65e8a37..89b34d4f1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0014_type_item_type_params.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | TYPE_DEF@[0; 20) | 2 | TYPE_DEF@[0; 20) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt index 71048bcc5..4b66a05a6 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0015_type_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt index c3fca013e..f38b2f79a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0016_type_item_where_clause.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 31) | 1 | SOURCE_FILE@[0; 31) |
2 | TYPE_DEF@[0; 30) | 2 | TYPE_DEF@[0; 30) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt index 97e73fea1..bd5feb6b3 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0017_paren_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt index 5d04d42fc..9fd19ba4a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0018_unit_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 13) | 1 | SOURCE_FILE@[0; 13) |
2 | TYPE_DEF@[0; 12) | 2 | TYPE_DEF@[0; 12) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt index 2cd8be9ab..173c325d0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0019_singleton_tuple_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 17) | 1 | SOURCE_FILE@[0; 17) |
2 | TYPE_DEF@[0; 16) | 2 | TYPE_DEF@[0; 16) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt index 6205d9669..e0cae644d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0020_never_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt index 23e68557a..189aa563e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0021_pointer_type_no_mutability.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 14) | 1 | SOURCE_FILE@[0; 14) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt index 33f5ad8b4..149cd571d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0022_pointer_type_mut.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 36) | 1 | SOURCE_FILE@[0; 36) |
2 | TYPE_DEF@[0; 17) | 2 | TYPE_DEF@[0; 17) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt index 90bdc5d2e..036363587 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0023_array_type_missing_semi.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 18) | 1 | SOURCE_FILE@[0; 18) |
2 | TYPE_DEF@[0; 12) | 2 | TYPE_DEF@[0; 12) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt index 809c86974..2c2b615fc 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0024_array_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | TYPE_DEF@[0; 18) | 2 | TYPE_DEF@[0; 18) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt index 978530a6a..db18c7139 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0025_slice_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 15) | 1 | SOURCE_FILE@[0; 15) |
2 | TYPE_DEF@[0; 14) | 2 | TYPE_DEF@[0; 14) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt index ff27ce5dd..7f35254d1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0026_reference_type;.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 54) | 1 | SOURCE_FILE@[0; 54) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt index 538e4e69c..43ada95d4 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0027_placeholder_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 22) | 1 | SOURCE_FILE@[0; 22) |
2 | TYPE_DEF@[0; 21) | 2 | TYPE_DEF@[0; 21) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt index 4dba83eb5..0c508ec27 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0028_fn_pointer_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 70) | 1 | SOURCE_FILE@[0; 70) |
2 | TYPE_DEF@[0; 14) | 2 | TYPE_DEF@[0; 14) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt index fa0771ab1..f97db4bff 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0029_fn_pointer_type_missing_fn.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 20) | 1 | SOURCE_FILE@[0; 20) |
2 | TYPE_DEF@[0; 15) | 2 | TYPE_DEF@[0; 15) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt index 203839636..f092c6df7 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0030_fn_pointer_type_with_ret.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | TYPE_DEF@[0; 20) | 2 | TYPE_DEF@[0; 20) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt index f6b962b2c..843cc4973 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0031_for_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 29) | 1 | SOURCE_FILE@[0; 29) |
2 | TYPE_DEF@[0; 28) | 2 | TYPE_DEF@[0; 28) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt index b0a110a2c..b72b96e95 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0032_path_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 71) | 1 | SOURCE_FILE@[0; 71) |
2 | TYPE_DEF@[0; 13) | 2 | TYPE_DEF@[0; 13) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt index 9adc89b7c..86f8154ea 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0034_bind_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 146) | 1 | SOURCE_FILE@[0; 146) |
2 | FN_DEF@[0; 145) | 2 | FN_DEF@[0; 145) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt index a625637cd..008f4f159 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0035_ref_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 52) | 1 | SOURCE_FILE@[0; 52) |
2 | FN_DEF@[0; 51) | 2 | FN_DEF@[0; 51) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt index e89ff4e7c..08ba391e3 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0036_placeholder_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 26) | 1 | SOURCE_FILE@[0; 26) |
2 | FN_DEF@[0; 25) | 2 | FN_DEF@[0; 25) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt index 3b5fbf95d..7d137cfe9 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0037_crate_visibility.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 81) | 1 | SOURCE_FILE@[0; 81) |
2 | STRUCT_DEF@[0; 20) | 2 | STRUCT_DEF@[0; 20) |
3 | VISIBILITY@[0; 10) | 3 | VISIBILITY@[0; 10) |
4 | PUB_KW@[0; 3) | 4 | PUB_KW@[0; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt index a3d235ce1..1edf9412f 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0038_function_ret_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 30) | 1 | SOURCE_FILE@[0; 30) |
2 | FN_DEF@[0; 11) | 2 | FN_DEF@[0; 11) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt index 618afc0a9..673ea1d3d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0039_path_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 91) | 1 | SOURCE_FILE@[0; 91) |
2 | FN_DEF@[0; 90) | 2 | FN_DEF@[0; 90) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt index 8105ee25a..1d88f952d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0040_expr_literals.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 189) | 1 | SOURCE_FILE@[0; 189) |
2 | FN_DEF@[0; 188) | 2 | FN_DEF@[0; 188) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt index 549b571c2..745cf8798 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0041_type_param_bounds.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 35) | 1 | SOURCE_FILE@[0; 35) |
2 | STRUCT_DEF@[0; 34) | 2 | STRUCT_DEF@[0; 34) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt index a75b7ed0a..59b3fbd2e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0042_type_param_default.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 19) | 1 | SOURCE_FILE@[0; 19) |
2 | STRUCT_DEF@[0; 18) | 2 | STRUCT_DEF@[0; 18) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt index f8e31045a..6364dc73c 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0043_call_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 57) | 1 | SOURCE_FILE@[0; 57) |
2 | FN_DEF@[0; 56) | 2 | FN_DEF@[0; 56) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt index 77f2ca22c..2cd888762 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0044_ref_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 52) | 1 | SOURCE_FILE@[0; 52) |
2 | FN_DEF@[0; 51) | 2 | FN_DEF@[0; 51) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0045_block.txt b/crates/ra_syntax/tests/data/parser/inline/0045_block.txt index e6c841f21..c13e22b3a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0045_block.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0045_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 65) | 1 | SOURCE_FILE@[0; 65) |
2 | FN_DEF@[0; 9) | 2 | FN_DEF@[0; 9) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt index 19fe5ca85..f45b6251f 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0046_default_impl.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 20) | 1 | SOURCE_FILE@[0; 20) |
2 | IMPL_ITEM@[0; 19) | 2 | IMPL_ITEM@[0; 19) |
3 | DEFAULT_KW@[0; 7) | 3 | DEFAULT_KW@[0; 7) |
4 | WHITESPACE@[7; 8) | 4 | WHITESPACE@[7; 8) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt index 6419243e2..1b9a8aa0e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0047_impl_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 12) | 1 | SOURCE_FILE@[0; 12) |
2 | IMPL_ITEM@[0; 11) | 2 | IMPL_ITEM@[0; 11) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt index 6739f9c55..b83db380e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0048_impl_item_neg.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 20) | 1 | SOURCE_FILE@[0; 20) |
2 | IMPL_ITEM@[0; 19) | 2 | IMPL_ITEM@[0; 19) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt index 72d9220e8..998ac3da9 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0049_trait_item_list.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 83) | 1 | SOURCE_FILE@[0; 83) |
2 | IMPL_ITEM@[0; 82) | 2 | IMPL_ITEM@[0; 82) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt index 30dc83454..9c2aad7e0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0050_let_stmt;.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 77) | 1 | SOURCE_FILE@[0; 77) |
2 | FN_DEF@[0; 76) | 2 | FN_DEF@[0; 76) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt index 530c80fa8..51ecfdf78 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0051_method_call_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 49) | 1 | SOURCE_FILE@[0; 49) |
2 | FN_DEF@[0; 48) | 2 | FN_DEF@[0; 48) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt index 9086219ca..03fbf092b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0052_field_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 37) | 1 | SOURCE_FILE@[0; 37) |
2 | FN_DEF@[0; 36) | 2 | FN_DEF@[0; 36) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt index 20122d763..dd1843ee5 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0053_block_items.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | FN_DEF@[0; 20) | 2 | FN_DEF@[0; 20) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt index 4df4ca35b..13a51a9d9 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0054_field_pat_list.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 119) | 1 | SOURCE_FILE@[0; 119) |
2 | FN_DEF@[0; 118) | 2 | FN_DEF@[0; 118) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt index f0e47c2dc..53027c852 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0055_self_param.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 128) | 1 | SOURCE_FILE@[0; 128) |
2 | IMPL_ITEM@[0; 127) | 2 | IMPL_ITEM@[0; 127) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt index 40c77db4b..333a737ec 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0056_trait_item.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 42) | 1 | SOURCE_FILE@[0; 42) |
2 | TRAIT_DEF@[0; 41) | 2 | TRAIT_DEF@[0; 41) |
3 | TRAIT_KW@[0; 5) | 3 | TRAIT_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt index 0303d76bd..8b3ce28d0 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0057_auto_trait.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | TRAIT_DEF@[0; 15) | 2 | TRAIT_DEF@[0; 15) |
3 | AUTO_KW@[0; 4) | 3 | AUTO_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt index aaf2924ba..086a74bdb 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0058_type_arg.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 35) | 1 | SOURCE_FILE@[0; 35) |
2 | TYPE_DEF@[0; 34) | 2 | TYPE_DEF@[0; 34) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt index 281e79deb..b58d09e35 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0059_function_where_clause.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 29) | 1 | SOURCE_FILE@[0; 29) |
2 | FN_DEF@[0; 28) | 2 | FN_DEF@[0; 28) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt index b6fea5ab2..b20f13267 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0060_function_type_params.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 28) | 1 | SOURCE_FILE@[0; 28) |
2 | FN_DEF@[0; 27) | 2 | FN_DEF@[0; 27) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt index cf6e881b2..aec25403d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0061_struct_lit.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 86) | 1 | SOURCE_FILE@[0; 86) |
2 | FN_DEF@[0; 85) | 2 | FN_DEF@[0; 85) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt index 68fce58ee..efd4dd42a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0063_impl_trait_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 43) | 1 | SOURCE_FILE@[0; 43) |
2 | TYPE_DEF@[0; 42) | 2 | TYPE_DEF@[0; 42) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt index 93f6285ac..8c1340c4a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0063_lambda_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 74) | 1 | SOURCE_FILE@[0; 74) |
2 | FN_DEF@[0; 74) | 2 | FN_DEF@[0; 74) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | NAME@[2; 6) | 4 | NAME@[2; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt index de547d699..503fc97ff 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0064_param_list.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 67) | 1 | SOURCE_FILE@[0; 67) |
2 | FN_DEF@[0; 9) | 2 | FN_DEF@[0; 9) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt index ae1a8101e..637d23d9e 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0065_if_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 107) | 1 | SOURCE_FILE@[0; 107) |
2 | FN_DEF@[0; 106) | 2 | FN_DEF@[0; 106) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt index 82aaf3897..98271c233 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0066_lambda_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 79) | 1 | SOURCE_FILE@[0; 79) |
2 | FN_DEF@[0; 78) | 2 | FN_DEF@[0; 78) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt index 12a1ff49a..eeb184ab2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0067_block_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 52) | 1 | SOURCE_FILE@[0; 52) |
2 | FN_DEF@[0; 51) | 2 | FN_DEF@[0; 51) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt index 5f179c3ca..de20eee7a 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0068_pub_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 29) | 1 | SOURCE_FILE@[0; 29) |
2 | FN_DEF@[0; 20) | 2 | FN_DEF@[0; 20) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt index ead1ada96..f8d1db41c 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0068_return_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 40) | 1 | SOURCE_FILE@[0; 40) |
2 | FN_DEF@[0; 39) | 2 | FN_DEF@[0; 39) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt index f862b1268..044faec04 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0069_match_arm.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 125) | 1 | SOURCE_FILE@[0; 125) |
2 | FN_DEF@[0; 124) | 2 | FN_DEF@[0; 124) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt index d7740e3cc..cc22bd3b2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0070_match_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 47) | 1 | SOURCE_FILE@[0; 47) |
2 | FN_DEF@[0; 46) | 2 | FN_DEF@[0; 46) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt index 734e0726c..737fbec22 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0071_tuple_pat_fields.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 97) | 1 | SOURCE_FILE@[0; 97) |
2 | FN_DEF@[0; 96) | 2 | FN_DEF@[0; 96) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt index 1a8d1546d..0020cfb4d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0072_path_part.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 103) | 1 | SOURCE_FILE@[0; 103) |
2 | FN_DEF@[0; 102) | 2 | FN_DEF@[0; 102) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt index 1f524f34a..b15f93cd2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0073_impl_item_list.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 89) | 1 | SOURCE_FILE@[0; 89) |
2 | IMPL_ITEM@[0; 88) | 2 | IMPL_ITEM@[0; 88) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt index 4d77c8c11..72d7d8bfb 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0074_unary_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 44) | 1 | SOURCE_FILE@[0; 44) |
2 | FN_DEF@[0; 43) | 2 | FN_DEF@[0; 43) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt index b80235146..f47e6da55 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0075_try_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | FN_DEF@[0; 20) | 2 | FN_DEF@[0; 20) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt b/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt index 1808f10fb..641a09fff 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0076_cond.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 38) | 1 | SOURCE_FILE@[0; 38) |
2 | FN_DEF@[0; 37) | 2 | FN_DEF@[0; 37) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt index c73157c04..f9b074e82 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0077_while_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 70) | 1 | SOURCE_FILE@[0; 70) |
2 | FN_DEF@[0; 69) | 2 | FN_DEF@[0; 69) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt index 57b2b9372..62528ca47 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0078_mod_contents.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 70) | 1 | SOURCE_FILE@[0; 70) |
2 | FN_DEF@[0; 11) | 2 | FN_DEF@[0; 11) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt index 6d57078b3..a80439913 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0079_cast_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 28) | 1 | SOURCE_FILE@[0; 28) |
2 | FN_DEF@[0; 27) | 2 | FN_DEF@[0; 27) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt index cf541411f..4e427c909 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0080_tuple_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 40) | 1 | SOURCE_FILE@[0; 40) |
2 | FN_DEF@[0; 39) | 2 | FN_DEF@[0; 39) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt index 4624aab23..6e10be559 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0081_index_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 26) | 1 | SOURCE_FILE@[0; 26) |
2 | FN_DEF@[0; 25) | 2 | FN_DEF@[0; 25) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt index 2d68a5ff2..2471f6f8c 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0082_tuple_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 39) | 1 | SOURCE_FILE@[0; 39) |
2 | FN_DEF@[0; 38) | 2 | FN_DEF@[0; 38) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt index 475251ea7..415ff2a20 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0083_postfix_range.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 26) | 1 | SOURCE_FILE@[0; 26) |
2 | FN_DEF@[0; 25) | 2 | FN_DEF@[0; 25) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt index 5321fade9..c3c64c322 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0084_loop_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 26) | 1 | SOURCE_FILE@[0; 26) |
2 | FN_DEF@[0; 25) | 2 | FN_DEF@[0; 25) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt index 7ddf8122f..998f12110 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0085_for_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 33) | 1 | SOURCE_FILE@[0; 33) |
2 | FN_DEF@[0; 32) | 2 | FN_DEF@[0; 32) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt index 560931645..1034846c8 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0085_match_arms_commas.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 83) | 1 | SOURCE_FILE@[0; 83) |
2 | FN_DEF@[0; 82) | 2 | FN_DEF@[0; 82) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt index dcdeff609..42df7c450 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0086_array_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 55) | 1 | SOURCE_FILE@[0; 55) |
2 | FN_DEF@[0; 54) | 2 | FN_DEF@[0; 54) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt index f1b0e2787..69f0a48ce 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0086_no_semi_after_block.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 107) | 1 | SOURCE_FILE@[0; 107) |
2 | FN_DEF@[0; 106) | 2 | FN_DEF@[0; 106) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt index 91edf3f84..48e0026af 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0087_stmt_postfix_expr_ambiguity.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 84) | 1 | SOURCE_FILE@[0; 84) |
2 | FN_DEF@[0; 83) | 2 | FN_DEF@[0; 83) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt index ff1298acb..d8c599537 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0088_stmt_bin_expr_ambiguity.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 46) | 1 | SOURCE_FILE@[0; 46) |
2 | FN_DEF@[0; 45) | 2 | FN_DEF@[0; 45) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt index 99e8dd427..72987308d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0089_slice_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 39) | 1 | SOURCE_FILE@[0; 39) |
2 | FN_DEF@[0; 38) | 2 | FN_DEF@[0; 38) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt index c35bc8428..bb87e1d06 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0091_fn_decl.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 22) | 1 | SOURCE_FILE@[0; 22) |
2 | TRAIT_DEF@[0; 21) | 2 | TRAIT_DEF@[0; 21) |
3 | TRAIT_KW@[0; 5) | 3 | TRAIT_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt index 3128bfd7d..99b289d56 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0092_literal_pattern.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 95) | 1 | SOURCE_FILE@[0; 95) |
2 | FN_DEF@[0; 94) | 2 | FN_DEF@[0; 94) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt index 26a690d3a..ba1163c2d 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0093_path_fn_trait_args.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 32) | 1 | SOURCE_FILE@[0; 32) |
2 | TYPE_DEF@[0; 31) | 2 | TYPE_DEF@[0; 31) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt index 4f14d5431..12ccc1314 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0094_range_pat.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 47) | 1 | SOURCE_FILE@[0; 47) |
2 | FN_DEF@[0; 46) | 2 | FN_DEF@[0; 46) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt index 4b864f741..911a27ea1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0095_path_type_with_bounds.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 27) | 1 | SOURCE_FILE@[0; 27) |
2 | FN_DEF@[0; 26) | 2 | FN_DEF@[0; 26) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt index 3c8352067..f2d7e866b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0096_value_parameters_no_patterns.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 54) | 1 | SOURCE_FILE@[0; 54) |
2 | TYPE_DEF@[0; 53) | 2 | TYPE_DEF@[0; 53) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt index 39bab8dd2..2ce7a6714 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0097_param_list_opt_patterns.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 35) | 1 | SOURCE_FILE@[0; 35) |
2 | FN_DEF@[0; 34) | 2 | FN_DEF@[0; 34) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt index 9fe803554..54c3d64f1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0098_where_clause.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 87) | 1 | SOURCE_FILE@[0; 87) |
2 | FN_DEF@[0; 86) | 2 | FN_DEF@[0; 86) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt index 96a4e9162..ff5add838 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0099_crate_keyword_vis.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 20) | 1 | SOURCE_FILE@[0; 20) |
2 | FN_DEF@[0; 19) | 2 | FN_DEF@[0; 19) |
3 | VISIBILITY@[0; 5) | 3 | VISIBILITY@[0; 5) |
4 | CRATE_KW@[0; 5) | 4 | CRATE_KW@[0; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt index c81ae5545..d07fe70b2 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0100_dyn_trait_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 42) | 1 | SOURCE_FILE@[0; 42) |
2 | TYPE_DEF@[0; 41) | 2 | TYPE_DEF@[0; 41) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt index 99516bf15..394fc7f5b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0101_qual_paths.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 71) | 1 | SOURCE_FILE@[0; 71) |
2 | TYPE_DEF@[0; 26) | 2 | TYPE_DEF@[0; 26) |
3 | TYPE_KW@[0; 4) | 3 | TYPE_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt index 19f77fb73..caef145ce 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0102_full_range_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 21) | 1 | SOURCE_FILE@[0; 21) |
2 | FN_DEF@[0; 20) | 2 | FN_DEF@[0; 20) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt index 420712e89..e02ebf400 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0103_field_attrs.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 64) | 1 | SOURCE_FILE@[0; 64) |
2 | STRUCT_DEF@[0; 63) | 2 | STRUCT_DEF@[0; 63) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt index 9a306921e..b2f04ea7b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0104_arb_self_types.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 69) | 1 | SOURCE_FILE@[0; 69) |
2 | IMPL_ITEM@[0; 68) | 2 | IMPL_ITEM@[0; 68) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt index 1c78704fa..39be5b2c8 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0105_continue_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 69) | 1 | SOURCE_FILE@[0; 69) |
2 | FN_DEF@[0; 68) | 2 | FN_DEF@[0; 68) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt index 92b6b8bea..1877311e8 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0106_break_expr.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 102) | 1 | SOURCE_FILE@[0; 102) |
2 | FN_DEF@[0; 101) | 2 | FN_DEF@[0; 101) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0107_label.txt b/crates/ra_syntax/tests/data/parser/inline/0107_label.txt index 768515595..c641c3b16 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0107_label.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0107_label.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 74) | 1 | SOURCE_FILE@[0; 74) |
2 | FN_DEF@[0; 73) | 2 | FN_DEF@[0; 73) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt index d00305b97..75533ecc1 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0108_misplaced_label_err.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 30) | 1 | SOURCE_FILE@[0; 30) |
2 | FN_DEF@[0; 29) | 2 | FN_DEF@[0; 29) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt index f9b34cc5e..058639375 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0109_struct_items.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 106) | 1 | SOURCE_FILE@[0; 106) |
2 | STRUCT_DEF@[0; 11) | 2 | STRUCT_DEF@[0; 11) |
3 | STRUCT_KW@[0; 6) | 3 | STRUCT_KW@[0; 6) |
4 | WHITESPACE@[6; 7) | 4 | WHITESPACE@[6; 7) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt index e2e755414..2d2fb1a0b 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0110_union_items.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 51) | 1 | SOURCE_FILE@[0; 51) |
2 | STRUCT_DEF@[0; 12) | 2 | STRUCT_DEF@[0; 12) |
3 | UNION_KW@[0; 5) | 3 | UNION_KW@[0; 5) |
4 | WHITESPACE@[5; 6) | 4 | WHITESPACE@[5; 6) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0111_impl_type.txt b/crates/ra_syntax/tests/data/parser/inline/0111_impl_type.txt index a2907b060..7279d5cae 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0111_impl_type.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0111_impl_type.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 87) | 1 | SOURCE_FILE@[0; 87) |
2 | IMPL_ITEM@[0; 12) | 2 | IMPL_ITEM@[0; 12) |
3 | IMPL_KW@[0; 4) | 3 | IMPL_KW@[0; 4) |
4 | WHITESPACE@[4; 5) | 4 | WHITESPACE@[4; 5) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0112_crate_path.txt b/crates/ra_syntax/tests/data/parser/inline/0112_crate_path.txt index 4c871ccdd..382286457 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0112_crate_path.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0112_crate_path.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 16) | 1 | SOURCE_FILE@[0; 16) |
2 | USE_ITEM@[0; 15) | 2 | USE_ITEM@[0; 15) |
3 | USE_KW@[0; 3) | 3 | USE_KW@[0; 3) |
4 | WHITESPACE@[3; 4) | 4 | WHITESPACE@[3; 4) |
diff --git a/crates/ra_syntax/tests/data/parser/inline/0113_where_pred_for.txt b/crates/ra_syntax/tests/data/parser/inline/0113_where_pred_for.txt index 08aacc77a..921bdacf4 100644 --- a/crates/ra_syntax/tests/data/parser/inline/0113_where_pred_for.txt +++ b/crates/ra_syntax/tests/data/parser/inline/0113_where_pred_for.txt | |||
@@ -1,4 +1,4 @@ | |||
1 | ROOT@[0; 49) | 1 | SOURCE_FILE@[0; 49) |
2 | FN_DEF@[0; 48) | 2 | FN_DEF@[0; 48) |
3 | FN_KW@[0; 2) | 3 | FN_KW@[0; 2) |
4 | WHITESPACE@[2; 3) | 4 | WHITESPACE@[2; 3) |