From 28ef4c375a9f56d69daf885504aea3df7012bb81 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 30 Jul 2020 15:36:21 +0200 Subject: Rename TypeParamList -> GenericParamList --- crates/ra_parser/src/grammar/type_params.rs | 2 +- crates/ra_parser/src/syntax_kind/generated.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/ra_parser') diff --git a/crates/ra_parser/src/grammar/type_params.rs b/crates/ra_parser/src/grammar/type_params.rs index d1330d4b9..90dabb4c0 100644 --- a/crates/ra_parser/src/grammar/type_params.rs +++ b/crates/ra_parser/src/grammar/type_params.rs @@ -36,7 +36,7 @@ fn type_param_list(p: &mut Parser) { } } p.expect(T![>]); - m.complete(p, TYPE_PARAM_LIST); + m.complete(p, GENERIC_PARAM_LIST); } fn lifetime_param(p: &mut Parser, m: Marker) { diff --git a/crates/ra_parser/src/syntax_kind/generated.rs b/crates/ra_parser/src/syntax_kind/generated.rs index b84c3fc79..b83690865 100644 --- a/crates/ra_parser/src/syntax_kind/generated.rs +++ b/crates/ra_parser/src/syntax_kind/generated.rs @@ -230,7 +230,7 @@ pub enum SyntaxKind { NAME_REF, LET_STMT, EXPR_STMT, - TYPE_PARAM_LIST, + GENERIC_PARAM_LIST, LIFETIME_PARAM, TYPE_PARAM, CONST_PARAM, -- cgit v1.2.3