diff options
Diffstat (limited to 'xtask')
-rw-r--r-- | xtask/src/ast_src.rs | 2 | ||||
-rw-r--r-- | xtask/src/codegen/rust.ungram | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/xtask/src/ast_src.rs b/xtask/src/ast_src.rs index 427406249..762d9265e 100644 --- a/xtask/src/ast_src.rs +++ b/xtask/src/ast_src.rs | |||
@@ -208,7 +208,7 @@ pub(crate) const KINDS_SRC: KindsSrc = KindsSrc { | |||
208 | "LIFETIME_PARAM", | 208 | "LIFETIME_PARAM", |
209 | "TYPE_PARAM", | 209 | "TYPE_PARAM", |
210 | "CONST_PARAM", | 210 | "CONST_PARAM", |
211 | "TYPE_ARG_LIST", | 211 | "GENERIC_ARG_LIST", |
212 | "LIFETIME_ARG", | 212 | "LIFETIME_ARG", |
213 | "TYPE_ARG", | 213 | "TYPE_ARG", |
214 | "ASSOC_TYPE_ARG", | 214 | "ASSOC_TYPE_ARG", |
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 |