From 91781c7ce8201b28afd56b4e35eba47e076a8498 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 18:29:29 +0200 Subject: Rename TypeArgList -> GenericArgList --- .../ra_syntax/test_data/parser/err/0012_broken_lambda.rast | 4 ++-- crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast | 6 +++--- .../test_data/parser/err/0024_many_type_parens.rast | 12 ++++++------ crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast | 2 +- .../ra_syntax/test_data/parser/err/0039_lambda_recovery.rast | 2 +- 5 files changed, 13 insertions(+), 13 deletions(-) (limited to 'crates/ra_syntax/test_data/parser/err') diff --git a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast index 0afa24b77..307d9b31b 100644 --- a/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast +++ b/crates/ra_syntax/test_data/parser/err/0012_broken_lambda.rast @@ -25,7 +25,7 @@ SOURCE_FILE@0..389 PATH_SEGMENT@29..37 NAME_REF@29..33 IDENT@29..33 "Sink" - TYPE_ARG_LIST@33..37 + GENERIC_ARG_LIST@33..37 L_ANGLE@33..34 LIFETIME_ARG@34..36 LIFETIME@34..36 "'a" @@ -79,7 +79,7 @@ SOURCE_FILE@0..389 PATH_SEGMENT@82..92 NAME_REF@82..85 IDENT@82..85 "Vec" - TYPE_ARG_LIST@85..92 + GENERIC_ARG_LIST@85..92 L_ANGLE@85..86 TYPE_ARG@86..91 PATH_TYPE@86..91 diff --git a/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast b/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast index 3eef848fc..f48ab6e71 100644 --- a/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast +++ b/crates/ra_syntax/test_data/parser/err/0013_invalid_type.rast @@ -16,7 +16,7 @@ SOURCE_FILE@0..86 PATH_SEGMENT@22..68 NAME_REF@22..29 IDENT@22..29 "RefCell" - TYPE_ARG_LIST@29..68 + GENERIC_ARG_LIST@29..68 L_ANGLE@29..30 "<" TYPE_ARG@30..68 PATH_TYPE@30..68 @@ -24,7 +24,7 @@ SOURCE_FILE@0..86 PATH_SEGMENT@30..68 NAME_REF@30..37 IDENT@30..37 "HashMap" - TYPE_ARG_LIST@37..68 + GENERIC_ARG_LIST@37..68 L_ANGLE@37..38 "<" WHITESPACE@38..47 "\n " TYPE_ARG@47..53 @@ -41,7 +41,7 @@ SOURCE_FILE@0..86 PATH_SEGMENT@63..68 NAME_REF@63..66 IDENT@63..66 "Box" - TYPE_ARG_LIST@66..68 + GENERIC_ARG_LIST@66..68 L_ANGLE@66..67 "<" TYPE_ARG@67..68 ERROR@67..68 diff --git a/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast b/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast index 4c2d1ad68..1cb1e9757 100644 --- a/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast +++ b/crates/ra_syntax/test_data/parser/err/0024_many_type_parens.rast @@ -50,7 +50,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@37..46 NAME_REF@37..42 IDENT@37..42 "Trait" - TYPE_ARG_LIST@42..46 + GENERIC_ARG_LIST@42..46 L_ANGLE@42..43 "<" LIFETIME_ARG@43..45 LIFETIME@43..45 "\'a" @@ -92,7 +92,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@78..88 NAME_REF@78..81 IDENT@78..81 "Box" - TYPE_ARG_LIST@81..88 + GENERIC_ARG_LIST@81..88 L_ANGLE@81..82 "<" TYPE_ARG@82..88 PAREN_TYPE@82..88 @@ -133,7 +133,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@111..120 NAME_REF@111..116 IDENT@111..116 "Trait" - TYPE_ARG_LIST@116..120 + GENERIC_ARG_LIST@116..120 L_ANGLE@116..117 "<" LIFETIME_ARG@117..119 LIFETIME@117..119 "\'a" @@ -156,7 +156,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@135..141 NAME_REF@135..138 IDENT@135..138 "Box" - TYPE_ARG_LIST@138..141 + GENERIC_ARG_LIST@138..141 L_ANGLE@138..139 "<" TYPE_ARG@139..141 PAREN_TYPE@139..141 @@ -235,7 +235,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@192..215 NAME_REF@192..195 IDENT@192..195 "Box" - TYPE_ARG_LIST@195..215 + GENERIC_ARG_LIST@195..215 L_ANGLE@195..196 "<" TYPE_ARG@196..215 PAREN_TYPE@196..215 @@ -253,7 +253,7 @@ SOURCE_FILE@0..240 PATH_SEGMENT@205..214 NAME_REF@205..210 IDENT@205..210 "Trait" - TYPE_ARG_LIST@210..214 + GENERIC_ARG_LIST@210..214 L_ANGLE@210..211 "<" LIFETIME_ARG@211..213 LIFETIME@211..213 "\'a" diff --git a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast index 7e4b11c27..1b08c834e 100644 --- a/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0026_imp_recovery.rast @@ -31,7 +31,7 @@ SOURCE_FILE@0..38 PATH_SEGMENT@23..34 NAME_REF@23..31 IDENT@23..31 "OnceCell" - TYPE_ARG_LIST@31..34 + GENERIC_ARG_LIST@31..34 L_ANGLE@31..32 "<" TYPE_ARG@32..33 PATH_TYPE@32..33 diff --git a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast index 0678d4278..7a5e115bc 100644 --- a/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast +++ b/crates/ra_syntax/test_data/parser/err/0039_lambda_recovery.rast @@ -62,7 +62,7 @@ SOURCE_FILE@0..83 DOT@66..67 "." NAME_REF@67..70 IDENT@67..70 "max" - TYPE_ARG_LIST@70..77 + GENERIC_ARG_LIST@70..77 COLON2@70..72 "::" L_ANGLE@72..73 "<" TYPE_ARG@73..76 -- cgit v1.2.3