aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r--xtask/src/codegen/rust.ungram6
1 files changed, 3 insertions, 3 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram
index 13ad67ca1..8acd02f75 100644
--- a/xtask/src/codegen/rust.ungram
+++ b/xtask/src/codegen/rust.ungram
@@ -3,11 +3,11 @@ Path =
3 3
4PathSegment = 4PathSegment =
5 '::' | 'crate' | 'self' | 'super' 5 '::' | 'crate' | 'self' | 'super'
6| (NameRef ('::'? TypeArgList)?) 6| (NameRef ('::'? GenericArgList)?)
7| NameRef ParamList RetType? 7| NameRef ParamList RetType?
8| '<' PathType ('as' PathType)? '>' 8| '<' PathType ('as' PathType)? '>'
9 9
10TypeArgList = 10GenericArgList =
11 '::'? '<' 11 '::'? '<'
12 TypeArg* 12 TypeArg*
13 LifetimeArg* 13 LifetimeArg*
@@ -348,7 +348,7 @@ ArgList =
348 '(' args:(Expr (',' Expr)* ','?)? ')' 348 '(' args:(Expr (',' Expr)* ','?)? ')'
349 349
350MethodCallExpr = 350MethodCallExpr =
351 Attr* Expr '.' NameRef TypeArgList? ArgList 351 Attr* Expr '.' NameRef GenericArgList? ArgList
352 352
353FieldExpr = 353FieldExpr =
354 Attr* Expr '.' NameRef 354 Attr* Expr '.' NameRef