aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram9
1 files changed, 4 insertions, 5 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 27bf563b6..643668863 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -529,16 +529,15 @@ RefPat =
529 '&' 'mut'? Pat 529 '&' 'mut'? Pat
530 530
531RecordPat = 531RecordPat =
532 Path RecordFieldPatList 532 Path RecordPatFieldList
533 533
534RecordFieldPatList = 534RecordPatFieldList =
535 '{' 535 '{'
536 record_field_pats:RecordFieldPat* 536 fields:(RecordPatField (',' RecordPatField)* ','?)
537 BindPat*
538 '..'? 537 '..'?
539 '}' 538 '}'
540 539
541RecordFieldPat = 540RecordPatField =
542 Attr* (NameRef ':')? Pat 541 Attr* (NameRef ':')? Pat
543 542
544OrPat = 543OrPat =