diff options
Diffstat (limited to 'xtask/src')
-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 |