aboutsummaryrefslogtreecommitdiff
path: root/xtask/src
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src')
-rw-r--r--xtask/src/codegen/rust.ungram7
1 files changed, 5 insertions, 2 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index ef7c3e50e..4f7f6403e 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -66,8 +66,11 @@ SelfParam =
66 ) 66 )
67 67
68Param = 68Param =
69 Attr* Pat (':' ascribed_type:TypeRef) 69 Attr* (
70| '...' 70 Pat (':' ascribed_type:TypeRef)
71 | ascribed_type:TypeRef
72 | '...'
73 )
71 74
72RetType = 75RetType =
73 '->' TypeRef 76 '->' TypeRef