diff options
Diffstat (limited to 'xtask/src/codegen')
-rw-r--r-- | xtask/src/codegen/rust.ungram | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/xtask/src/codegen/rust.ungram b/xtask/src/codegen/rust.ungram index cb4cd49fe..fa18acbb3 100644 --- a/xtask/src/codegen/rust.ungram +++ b/xtask/src/codegen/rust.ungram | |||
@@ -8,12 +8,13 @@ PathSegment = | |||
8 | | '<' PathType ('as' PathType)? '>' | 8 | | '<' PathType ('as' PathType)? '>' |
9 | 9 | ||
10 | GenericArgList = | 10 | GenericArgList = |
11 | '::'? '<' | 11 | '::'? '<' (GenericArg (',' GenericArg)* ','?)? '>' |
12 | TypeArg* | 12 | |
13 | LifetimeArg* | 13 | GenericArg = |
14 | AssocTypeArg* | 14 | TypeArg |
15 | ConstArg* | 15 | | AssocTypeArg |
16 | '>' | 16 | | LifetimeArg |
17 | | ConstArg | ||
17 | 18 | ||
18 | TypeArg = | 19 | TypeArg = |
19 | Type | 20 | Type |
@@ -27,7 +28,6 @@ LifetimeArg = | |||
27 | ConstArg = | 28 | ConstArg = |
28 | Literal | BlockExpr BlockExpr | 29 | Literal | BlockExpr BlockExpr |
29 | 30 | ||
30 | |||
31 | SourceFile = | 31 | SourceFile = |
32 | 'shebang'? | 32 | 'shebang'? |
33 | Attr* | 33 | Attr* |