aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-31 17:29:29 +0100
committerAleksey Kladov <[email protected]>2020-07-31 17:29:29 +0100
commit91781c7ce8201b28afd56b4e35eba47e076a8498 (patch)
treefa5d495950dfec53ed221c921d5d017fa024c1b8 /xtask/src/codegen
parent54fd09a9ca567fc79cae53237dfeedc5baeec635 (diff)
Rename TypeArgList -> GenericArgList
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