aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-30 17:15:08 +0100
committerAleksey Kladov <[email protected]>2020-07-30 17:15:08 +0100
commitb2cdb0b22631a66a00be25ba4b2e9c0b34ff426a (patch)
tree166c29f6881461e8b5666dd948d768fb64461285 /xtask/src/codegen
parentba71f05438a93991aff6970488a720c90774d35b (diff)
Fix param gramamr
Diffstat (limited to 'xtask/src/codegen')
-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