diff options
author | Aleksey Kladov <[email protected]> | 2020-07-31 17:29:29 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-07-31 17:29:29 +0100 |
commit | 91781c7ce8201b28afd56b4e35eba47e076a8498 (patch) | |
tree | fa5d495950dfec53ed221c921d5d017fa024c1b8 /xtask/src/codegen | |
parent | 54fd09a9ca567fc79cae53237dfeedc5baeec635 (diff) |
Rename TypeArgList -> GenericArgList
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 6 |
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 | ||
4 | PathSegment = | 4 | PathSegment = |
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 | ||
10 | TypeArgList = | 10 | GenericArgList = |
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 | ||
350 | MethodCallExpr = | 350 | MethodCallExpr = |
351 | Attr* Expr '.' NameRef TypeArgList? ArgList | 351 | Attr* Expr '.' NameRef GenericArgList? ArgList |
352 | 352 | ||
353 | FieldExpr = | 353 | FieldExpr = |
354 | Attr* Expr '.' NameRef | 354 | Attr* Expr '.' NameRef |