diff options
author | Aleksey Kladov <[email protected]> | 2020-07-30 17:15:08 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-30 17:15:08 +0100 |
commit | b2cdb0b22631a66a00be25ba4b2e9c0b34ff426a (patch) | |
tree | 166c29f6881461e8b5666dd948d768fb64461285 /xtask/src/codegen | |
parent | ba71f05438a93991aff6970488a720c90774d35b (diff) |
Fix param gramamr
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 7 |
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 | ||
68 | Param = | 68 | Param = |
69 | Attr* Pat (':' ascribed_type:TypeRef) | 69 | Attr* ( |
70 | | '...' | 70 | Pat (':' ascribed_type:TypeRef) |
71 | | ascribed_type:TypeRef | ||
72 | | '...' | ||
73 | ) | ||
71 | 74 | ||
72 | RetType = | 75 | RetType = |
73 | '->' TypeRef | 76 | '->' TypeRef |