From 98181087984157e27faba0b969e384f3c62c39d5 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 20:09:09 +0200 Subject: Rename BindPat -> IdentPat --- xtask/src/ast_src.rs | 2 +- xtask/src/codegen/rust.ungram | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xtask/src') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index fbe36d2f5..2ff029158 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -126,7 +126,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "PAREN_PAT", "REF_PAT", "BOX_PAT", - "BIND_PAT", + "IDENT_PAT", "WILDCARD_PAT", "DOT_DOT_PAT", "PATH_PAT", diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index 7c814240a..7685f4f06 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram @@ -497,7 +497,7 @@ TypeBound = | '?'? Type Pat = - BindPat + IdentPat | BoxPat | DotDotPat | LiteralPat @@ -516,7 +516,7 @@ Pat = LiteralPat = Literal -BindPat = +IdentPat = Attr* 'ref'? 'mut'? Name ('@' Pat)? WildcardPat = -- cgit v1.2.3