aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/codegen/rust.ungram
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/codegen/rust.ungram')
-rw-r--r--xtask/src/codegen/rust.ungram14
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
10GenericArgList = 10GenericArgList =
11 '::'? '<' 11 '::'? '<' (GenericArg (',' GenericArg)* ','?)? '>'
12 TypeArg* 12
13 LifetimeArg* 13GenericArg =
14 AssocTypeArg* 14 TypeArg
15 ConstArg* 15| AssocTypeArg
16 '>' 16| LifetimeArg
17| ConstArg
17 18
18TypeArg = 19TypeArg =
19 Type 20 Type
@@ -27,7 +28,6 @@ LifetimeArg =
27ConstArg = 28ConstArg =
28 Literal | BlockExpr BlockExpr 29 Literal | BlockExpr BlockExpr
29 30
30
31SourceFile = 31SourceFile =
32 'shebang'? 32 'shebang'?
33 Attr* 33 Attr*