aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/ast_src.rs6
-rw-r--r--xtask/src/codegen/rust.ungram12
2 files changed, 9 insertions, 9 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs
index b81985851..38709c63e 100644
--- a/xtask/src/ast_src.rs
+++ b/xtask/src/ast_src.rs
@@ -159,9 +159,9 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc {
159 "MATCH_ARM_LIST", 159 "MATCH_ARM_LIST",
160 "MATCH_ARM", 160 "MATCH_ARM",
161 "MATCH_GUARD", 161 "MATCH_GUARD",
162 "RECORD_LIT", 162 "RECORD_EXPR",
163 "RECORD_FIELD_LIST", 163 "RECORD_EXPR_FIELD_LIST",
164 "RECORD_FIELD", 164 "RECORD_EXPR_FIELD",
165 "EFFECT_EXPR", 165 "EFFECT_EXPR",
166 "BOX_EXPR", 166 "BOX_EXPR",
167 // postfix 167 // postfix
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 7f3063efb..49b2c9ff8 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -285,16 +285,16 @@ MatchArm =
285MatchGuard = 285MatchGuard =
286 'if' Expr 286 'if' Expr
287 287
288RecordLit = 288RecordExpr =
289 Path RecordFieldList 289 Path RecordExprFieldList
290 290
291RecordFieldList = 291RecordExprFieldList =
292 '{' 292 '{'
293 fields:RecordField* 293 fields:RecordExprField*
294 ('..' spread:Expr)? 294 ('..' spread:Expr)?
295 '}' 295 '}'
296 296
297RecordField = 297RecordExprField =
298 Attr* NameRef (':' Expr)? 298 Attr* NameRef (':' Expr)?
299 299
300OrPat = 300OrPat =
@@ -523,7 +523,7 @@ Expr =
523| BlockExpr 523| BlockExpr
524| ReturnExpr 524| ReturnExpr
525| MatchExpr 525| MatchExpr
526| RecordLit 526| RecordExpr
527| CallExpr 527| CallExpr
528| IndexExpr 528| IndexExpr
529| MethodCallExpr 529| MethodCallExpr