From 6791eb9685375da94556bb910ea71f78b08be5ec Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 31 Jul 2020 20:07:21 +0200 Subject: Rename PalceholderPat -> WildcardPat --- xtask/src/ast_src.rs | 2 +- xtask/src/codegen/rust.ungram | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xtask') diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 869bdaa0d..fbe36d2f5 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs @@ -127,7 +127,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { "REF_PAT", "BOX_PAT", "BIND_PAT", - "PLACEHOLDER_PAT", + "WILDCARD_PAT", "DOT_DOT_PAT", "PATH_PAT", "RECORD_PAT", diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index cb8a307fe..7c814240a 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram @@ -505,7 +505,7 @@ Pat = | OrPat | ParenPat | PathPat -| PlaceholderPat +| WildcardPat | RangePat | RecordPat | RefPat @@ -519,7 +519,7 @@ LiteralPat = BindPat = Attr* 'ref'? 'mut'? Name ('@' Pat)? -PlaceholderPat = +WildcardPat = '_' RangePat = -- cgit v1.2.3