From 081f35fe1b311223866fa5fc7edde2e8048cd901 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 11:48:19 +0200 Subject: Update tests --- crates/ra_syntax/test_data/parser/inline/ok/0001_trait_item_list.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast | 4 ++-- .../test_data/parser/inline/ok/0047_unsafe_default_impl.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast | 2 +- .../ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast | 2 +- .../test_data/parser/inline/ok/0118_impl_inner_attributes.rast | 2 +- crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast | 2 +- .../ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast | 2 +- .../ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast | 2 +- .../test_data/parser/inline/ok/0163_default_unsafe_impl.rast | 2 +- 19 files changed, 20 insertions(+), 20 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 a38b4f573..f422acdda 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 @@ -8,7 +8,7 @@ SOURCE_FILE@0..83 NAME_REF@5..6 IDENT@5..6 "F" WHITESPACE@6..7 " " - ITEM_LIST@7..82 + ASSOC_ITEM_LIST@7..82 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " TYPE_ALIAS_DEF@13..27 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast index 9f4a9e69b..0cd1dffc9 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0006_self_param.rast @@ -8,7 +8,7 @@ SOURCE_FILE@0..128 NAME_REF@5..6 IDENT@5..6 "S" WHITESPACE@6..7 " " - ITEM_LIST@7..127 + ASSOC_ITEM_LIST@7..127 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " FN_DEF@13..26 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast index d59c6006d..69b82e33c 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0016_unsafe_trait.rast @@ -7,7 +7,7 @@ SOURCE_FILE@0..18 NAME@13..14 IDENT@13..14 "T" WHITESPACE@14..15 " " - ITEM_LIST@15..17 + ASSOC_ITEM_LIST@15..17 L_CURLY@15..16 "{" R_CURLY@16..17 "}" WHITESPACE@17..18 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast index 15da6fdd6..79148e953 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0018_arb_self_types.rast @@ -8,7 +8,7 @@ SOURCE_FILE@0..69 NAME_REF@5..6 IDENT@5..6 "S" WHITESPACE@6..7 " " - ITEM_LIST@7..68 + ASSOC_ITEM_LIST@7..68 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " FN_DEF@13..33 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast b/crates/ra_syntax/test_data/parser/inline/ok/0021_impl_item_list.rast index c204aeb63..31b5b6616 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 @@ -8,7 +8,7 @@ SOURCE_FILE@0..89 NAME_REF@5..6 IDENT@5..6 "F" WHITESPACE@6..7 " " - ITEM_LIST@7..88 + ASSOC_ITEM_LIST@7..88 L_CURLY@7..8 "{" WHITESPACE@8..13 "\n " TYPE_ALIAS_DEF@13..26 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast b/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast index 1ae791361..884ab2dbf 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0041_trait_item.rast @@ -48,7 +48,7 @@ SOURCE_FILE@0..101 NAME_REF@34..38 IDENT@34..38 "Copy" WHITESPACE@38..39 " " - ITEM_LIST@39..41 + ASSOC_ITEM_LIST@39..41 L_CURLY@39..40 "{" R_CURLY@40..41 "}" WHITESPACE@41..42 "\n" @@ -119,7 +119,7 @@ SOURCE_FILE@0..101 NAME_REF@93..97 IDENT@93..97 "Copy" WHITESPACE@97..98 " " - ITEM_LIST@98..100 + ASSOC_ITEM_LIST@98..100 L_CURLY@98..99 "{" R_CURLY@99..100 "}" WHITESPACE@100..101 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast index 52de6023b..8a6b5a8fc 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0047_unsafe_default_impl.rast @@ -12,7 +12,7 @@ SOURCE_FILE@0..27 NAME_REF@20..23 IDENT@20..23 "Foo" WHITESPACE@23..24 " " - ITEM_LIST@24..26 + ASSOC_ITEM_LIST@24..26 L_CURLY@24..25 "{" R_CURLY@25..26 "}" WHITESPACE@26..27 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast index 8bf62cda9..5f1429102 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0050_fn_decl.rast @@ -5,7 +5,7 @@ SOURCE_FILE@0..22 NAME@6..7 IDENT@6..7 "T" WHITESPACE@7..8 " " - ITEM_LIST@8..21 + ASSOC_ITEM_LIST@8..21 L_CURLY@8..9 "{" WHITESPACE@9..10 " " FN_DEF@10..19 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast b/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast index 24b9a1f46..31178f86e 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0063_impl_def_neg.rast @@ -17,7 +17,7 @@ SOURCE_FILE@0..20 NAME_REF@15..16 IDENT@15..16 "X" WHITESPACE@16..17 " " - ITEM_LIST@17..19 + ASSOC_ITEM_LIST@17..19 L_CURLY@17..18 "{" R_CURLY@18..19 "}" WHITESPACE@19..20 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast b/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast index a00ab40f9..26825ef86 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0079_impl_def.rast @@ -8,7 +8,7 @@ SOURCE_FILE@0..12 NAME_REF@5..8 IDENT@5..8 "Foo" WHITESPACE@8..9 " " - ITEM_LIST@9..11 + ASSOC_ITEM_LIST@9..11 L_CURLY@9..10 "{" R_CURLY@10..11 "}" WHITESPACE@11..12 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast index 01ed3afca..e3223cee5 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0087_unsafe_impl.rast @@ -10,7 +10,7 @@ SOURCE_FILE@0..19 NAME_REF@12..15 IDENT@12..15 "Foo" WHITESPACE@15..16 " " - ITEM_LIST@16..18 + ASSOC_ITEM_LIST@16..18 L_CURLY@16..17 "{" R_CURLY@17..18 "}" WHITESPACE@18..19 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast index 800412cef..7efa4c34d 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0091_auto_trait.rast @@ -7,7 +7,7 @@ SOURCE_FILE@0..16 NAME@11..12 IDENT@11..12 "T" WHITESPACE@12..13 " " - ITEM_LIST@13..15 + ASSOC_ITEM_LIST@13..15 L_CURLY@13..14 "{" R_CURLY@14..15 "}" WHITESPACE@15..16 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast b/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast index 9370f6ae7..fad27be66 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0094_unsafe_auto_trait.rast @@ -9,7 +9,7 @@ SOURCE_FILE@0..23 NAME@18..19 IDENT@18..19 "T" WHITESPACE@19..20 " " - ITEM_LIST@20..22 + ASSOC_ITEM_LIST@20..22 L_CURLY@20..21 "{" R_CURLY@21..22 "}" WHITESPACE@22..23 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast index 80bda4ba7..8a839a4a6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0097_default_impl.rast @@ -10,7 +10,7 @@ SOURCE_FILE@0..20 NAME_REF@13..16 IDENT@13..16 "Foo" WHITESPACE@16..17 " " - ITEM_LIST@17..19 + ASSOC_ITEM_LIST@17..19 L_CURLY@17..18 "{" R_CURLY@18..19 "}" WHITESPACE@19..20 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast b/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast index a65a5c85f..ea54347fc 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0118_impl_inner_attributes.rast @@ -17,7 +17,7 @@ SOURCE_FILE@0..94 NAME_REF@14..15 IDENT@14..15 "F" WHITESPACE@15..16 " " - ITEM_LIST@16..93 + ASSOC_ITEM_LIST@16..93 L_CURLY@16..17 "{" WHITESPACE@17..23 "\n " COMMENT@23..48 "//! This is a doc com ..." diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast b/crates/ra_syntax/test_data/parser/inline/ok/0132_default_fn_type.rast index 00ce5ecf0..3772cb64b 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 @@ -16,7 +16,7 @@ SOURCE_FILE@0..69 NAME_REF@11..14 IDENT@11..14 "Foo" WHITESPACE@14..15 " " - ITEM_LIST@15..68 + ASSOC_ITEM_LIST@15..68 L_CURLY@15..16 "{" WHITESPACE@16..21 "\n " TYPE_ALIAS_DEF@21..42 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast index e70c3b710..77e12cad6 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0150_impl_type_params.rast @@ -32,7 +32,7 @@ SOURCE_FILE@0..29 IDENT@23..24 "N" R_ANGLE@24..25 ">" WHITESPACE@25..26 " " - ITEM_LIST@26..28 + ASSOC_ITEM_LIST@26..28 L_CURLY@26..27 "{" R_CURLY@27..28 "}" WHITESPACE@28..29 "\n" diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast index adb6159f4..c0b8c0300 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_fn.rast @@ -16,7 +16,7 @@ SOURCE_FILE@0..50 NAME_REF@11..14 IDENT@11..14 "Foo" WHITESPACE@14..15 " " - ITEM_LIST@15..49 + ASSOC_ITEM_LIST@15..49 L_CURLY@15..16 "{" WHITESPACE@16..21 "\n " FN_DEF@21..47 diff --git a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast index a9eda5668..e0c338297 100644 --- a/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast +++ b/crates/ra_syntax/test_data/parser/inline/ok/0163_default_unsafe_impl.rast @@ -12,7 +12,7 @@ SOURCE_FILE@0..27 NAME_REF@20..23 IDENT@20..23 "Foo" WHITESPACE@23..24 " " - ITEM_LIST@24..26 + ASSOC_ITEM_LIST@24..26 L_CURLY@24..25 "{" R_CURLY@25..26 "}" WHITESPACE@26..27 "\n" -- cgit v1.2.3