From eb2f8063444b11257111f4f8ade990ec810e0361 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 15:25:46 +0200 Subject: Rename TypeAliasDef -> TypeAlias --- .../test_data/parser/inline/ok/0001_trait_item_list.rast | 2 +- .../parser/inline/ok/0004_value_parameters_no_patterns.rast | 2 +- .../test_data/parser/inline/ok/0012_type_item_where_clause.rast | 2 +- .../test_data/parser/inline/ok/0013_pointer_type_mut.rast | 4 ++-- crates/ra_syntax/test_data/parser/inline/ok/0014_never_type.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0017_array_type.rast | 2 +- .../ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast | 2 +- .../test_data/parser/inline/ok/0023_placeholder_type.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0025_slice_type.rast | 2 +- .../test_data/parser/inline/ok/0028_impl_trait_type.rast | 2 +- .../test_data/parser/inline/ok/0032_fn_pointer_type.rast | 8 ++++---- .../test_data/parser/inline/ok/0033_reference_type;.rast | 6 +++--- crates/ra_syntax/test_data/parser/inline/ok/0037_qual_paths.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0039_type_arg.rast | 2 +- .../test_data/parser/inline/ok/0046_singleton_tuple_type.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0051_unit_type.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0052_path_type.rast | 8 ++++---- .../ra_syntax/test_data/parser/inline/ok/0065_dyn_trait_type.rast | 2 +- .../test_data/parser/inline/ok/0073_type_item_type_params.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0078_type_item.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0081_for_type.rast | 6 +++--- crates/ra_syntax/test_data/parser/inline/ok/0084_paren_type.rast | 2 +- .../test_data/parser/inline/ok/0092_fn_pointer_type_with_ret.rast | 2 +- .../test_data/parser/inline/ok/0104_path_fn_trait_args.rast | 2 +- .../test_data/parser/inline/ok/0117_macro_call_type.rast | 4 ++-- .../test_data/parser/inline/ok/0131_existential_type.rast | 2 +- .../test_data/parser/inline/ok/0132_default_fn_type.rast | 2 +- .../parser/inline/ok/0154_fn_pointer_param_ident_path.rast | 4 ++-- .../test_data/parser/inline/ok/0157_fn_pointer_unnamed_arg.rast | 2 +- 29 files changed, 42 insertions(+), 42 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/inline/ok') 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 7847ba65a..a62ce23e6 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 @@ SOURCE_FILE@0..83 ASSOC_ITEM_LIST@7..82 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " - TYPE_ALIAS_DEF@13..27 + TYPE_ALIAS@13..27 TYPE_KW@13..17 "type" WHITESPACE@17..18 " " NAME@18..19 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 @@ SOURCE_FILE@0..39 - TYPE_ALIAS_DEF@0..38 + TYPE_ALIAS@0..38 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..31 - TYPE_ALIAS_DEF@0..30 + TYPE_ALIAS@0..30 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..8 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 @@ SOURCE_FILE@0..36 - TYPE_ALIAS_DEF@0..17 + TYPE_ALIAS@0..17 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -16,7 +16,7 @@ SOURCE_FILE@0..36 R_PAREN@15..16 ")" SEMICOLON@16..17 ";" WHITESPACE@17..18 "\n" - TYPE_ALIAS_DEF@18..35 + TYPE_ALIAS@18..35 TYPE_KW@18..22 "type" WHITESPACE@22..23 " " NAME@23..24 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 @@ SOURCE_FILE@0..16 - TYPE_ALIAS_DEF@0..15 + TYPE_ALIAS@0..15 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..10 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 @@ SOURCE_FILE@0..19 - TYPE_ALIAS_DEF@0..18 + TYPE_ALIAS@0..18 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 daa55ec6c..3ae870e17 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 @@ SOURCE_FILE@0..89 ASSOC_ITEM_LIST@7..88 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " - TYPE_ALIAS_DEF@13..26 + TYPE_ALIAS@13..26 TYPE_KW@13..17 "type" WHITESPACE@17..18 " " NAME@18..19 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 @@ SOURCE_FILE@0..22 - TYPE_ALIAS_DEF@0..21 + TYPE_ALIAS@0..21 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..16 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 @@ SOURCE_FILE@0..15 - TYPE_ALIAS_DEF@0..14 + TYPE_ALIAS@0..14 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..43 - TYPE_ALIAS_DEF@0..42 + TYPE_ALIAS@0..42 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..113 - TYPE_ALIAS_DEF@0..14 + TYPE_ALIAS@0..14 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -14,7 +14,7 @@ SOURCE_FILE@0..113 R_PAREN@12..13 ")" SEMICOLON@13..14 ";" WHITESPACE@14..15 "\n" - TYPE_ALIAS_DEF@15..36 + TYPE_ALIAS@15..36 TYPE_KW@15..19 "type" WHITESPACE@19..20 " " NAME@20..21 @@ -31,7 +31,7 @@ SOURCE_FILE@0..113 R_PAREN@34..35 ")" SEMICOLON@35..36 ";" WHITESPACE@36..37 "\n" - TYPE_ALIAS_DEF@37..69 + TYPE_ALIAS@37..69 TYPE_KW@37..41 "type" WHITESPACE@41..42 " " NAME@42..43 @@ -53,7 +53,7 @@ SOURCE_FILE@0..113 R_PAREN@67..68 ")" SEMICOLON@68..69 ";" WHITESPACE@69..70 "\n" - TYPE_ALIAS_DEF@70..112 + TYPE_ALIAS@70..112 TYPE_KW@70..74 "type" WHITESPACE@74..75 " " NAME@75..76 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 @@ SOURCE_FILE@0..54 - TYPE_ALIAS_DEF@0..13 + TYPE_ALIAS@0..13 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -14,7 +14,7 @@ SOURCE_FILE@0..54 R_PAREN@11..12 ")" SEMICOLON@12..13 ";" WHITESPACE@13..14 "\n" - TYPE_ALIAS_DEF@14..35 + TYPE_ALIAS@14..35 TYPE_KW@14..18 "type" WHITESPACE@18..19 " " NAME@19..20 @@ -31,7 +31,7 @@ SOURCE_FILE@0..54 R_PAREN@33..34 ")" SEMICOLON@34..35 ";" WHITESPACE@35..36 "\n" - TYPE_ALIAS_DEF@36..53 + TYPE_ALIAS@36..53 TYPE_KW@36..40 "type" WHITESPACE@40..41 " " NAME@41..42 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 8f6cd2e2f..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 @@ SOURCE_FILE@0..71 - TYPE_ALIAS_DEF@0..26 + TYPE_ALIAS@0..26 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..46 - TYPE_ALIAS_DEF@0..45 + TYPE_ALIAS@0..45 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..17 - TYPE_ALIAS_DEF@0..16 + TYPE_ALIAS@0..16 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..13 - TYPE_ALIAS_DEF@0..12 + TYPE_ALIAS@0..12 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..71 - TYPE_ALIAS_DEF@0..13 + TYPE_ALIAS@0..13 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -14,7 +14,7 @@ SOURCE_FILE@0..71 IDENT@9..12 "Foo" SEMICOLON@12..13 ";" WHITESPACE@13..14 "\n" - TYPE_ALIAS_DEF@14..29 + TYPE_ALIAS@14..29 TYPE_KW@14..18 "type" WHITESPACE@18..19 " " NAME@19..20 @@ -30,7 +30,7 @@ SOURCE_FILE@0..71 IDENT@25..28 "Foo" SEMICOLON@28..29 ";" WHITESPACE@29..30 "\n" - TYPE_ALIAS_DEF@30..49 + TYPE_ALIAS@30..49 TYPE_KW@30..34 "type" WHITESPACE@34..35 " " NAME@35..36 @@ -49,7 +49,7 @@ SOURCE_FILE@0..71 IDENT@45..48 "Foo" SEMICOLON@48..49 ";" WHITESPACE@49..50 "\n" - TYPE_ALIAS_DEF@50..70 + TYPE_ALIAS@50..70 TYPE_KW@50..54 "type" WHITESPACE@54..55 " " NAME@55..56 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 @@ SOURCE_FILE@0..42 - TYPE_ALIAS_DEF@0..41 + TYPE_ALIAS@0..41 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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..0123cb108 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,5 +1,5 @@ SOURCE_FILE@0..21 - TYPE_ALIAS_DEF@0..20 + TYPE_ALIAS@0..20 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..11 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 @@ SOURCE_FILE@0..16 - TYPE_ALIAS_DEF@0..15 + TYPE_ALIAS@0..15 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..8 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..175ec9844 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 @@ SOURCE_FILE@0..121 - TYPE_ALIAS_DEF@0..28 + TYPE_ALIAS@0..28 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -29,7 +29,7 @@ SOURCE_FILE@0..121 R_PAREN@26..27 ")" SEMICOLON@27..28 ";" WHITESPACE@28..29 "\n" - TYPE_ALIAS_DEF@29..81 + TYPE_ALIAS@29..81 TYPE_KW@29..33 "type" WHITESPACE@33..34 " " NAME@34..35 @@ -74,7 +74,7 @@ SOURCE_FILE@0..121 R_PAREN@79..80 ")" SEMICOLON@80..81 ";" WHITESPACE@81..82 "\n" - TYPE_ALIAS_DEF@82..120 + TYPE_ALIAS@82..120 TYPE_KW@82..86 "type" WHITESPACE@86..87 " " NAME@87..90 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 @@ SOURCE_FILE@0..16 - TYPE_ALIAS_DEF@0..15 + TYPE_ALIAS@0..15 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..21 - TYPE_ALIAS_DEF@0..20 + TYPE_ALIAS@0..20 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..29 - TYPE_ALIAS_DEF@0..28 + TYPE_ALIAS@0..28 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 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 @@ SOURCE_FILE@0..41 - TYPE_ALIAS_DEF@0..16 + TYPE_ALIAS@0..16 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..6 @@ -18,7 +18,7 @@ SOURCE_FILE@0..41 R_PAREN@14..15 ")" SEMICOLON@15..16 ";" WHITESPACE@16..17 "\n" - TYPE_ALIAS_DEF@17..40 + TYPE_ALIAS@17..40 TYPE_KW@17..21 "type" WHITESPACE@21..22 " " NAME@22..23 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 @@ SOURCE_FILE@0..37 - TYPE_ALIAS_DEF@0..36 + TYPE_ALIAS@0..36 EXISTENTIAL_KW@0..11 "existential" WHITESPACE@11..12 " " TYPE_KW@12..16 "type" 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 9fc724f3f..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 @@ SOURCE_FILE@0..69 ASSOC_ITEM_LIST@15..68 L_CURLY@15..16 "{" WHITESPACE@16..21 "\n " - TYPE_ALIAS_DEF@21..42 + TYPE_ALIAS@21..42 DEFAULT_KW@21..28 "default" WHITESPACE@28..29 " " TYPE_KW@29..33 "type" 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 @@ SOURCE_FILE@0..55 - TYPE_ALIAS_DEF@0..24 + TYPE_ALIAS@0..24 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..8 @@ -25,7 +25,7 @@ SOURCE_FILE@0..55 R_PAREN@22..23 ")" SEMICOLON@23..24 ";" WHITESPACE@24..25 "\n" - TYPE_ALIAS_DEF@25..54 + TYPE_ALIAS@25..54 TYPE_KW@25..29 "type" WHITESPACE@29..30 " " NAME@30..33 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 @@ SOURCE_FILE@0..23 - TYPE_ALIAS_DEF@0..22 + TYPE_ALIAS@0..22 TYPE_KW@0..4 "type" WHITESPACE@4..5 " " NAME@5..8 -- cgit v1.2.3