File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,13 @@ mod m {
70
70
>   ;  ; [ _ Type_ ] (` , ` [ _ Type_ ] )<sup >\* </sup >
71
71
>
72
72
> _ GenericArgsConsts_ :\
73
- >   ;  ; [ _ Expression_ ] (` , ` [ _ Expression_ ] )<sup >\* </sup >
73
+ >   ;  ; _ GenericArgsConst_ (` , ` _ GenericArgsConst_ )<sup >\* </sup >
74
+ >
75
+ > _ GenericArgsConst_ :\
76
+ >   ;  ;   ;  ; [ _ BlockExpression_ ] \
77
+ >   ;  ; | [ _ LiteralExpression_ ] \
78
+ >   ;  ; | ` - ` [ _ LiteralExpression_ ] \
79
+ >   ;  ; | [ _ SimplePathSegment_ ]
74
80
>
75
81
> _ GenericArgsBindings_ :\
76
82
>   ;  ; _ GenericArgsBinding_ (` , ` _ GenericArgsBinding_ )<sup >\* </sup >
@@ -375,10 +381,13 @@ mod without { // ::without
375
381
# fn main () {}
376
382
```
377
383
384
+ [ _BlockExpression_ ] : expressions/block-expr.md
385
+ [ _Expression_ ] : expressions.md
378
386
[ _GenericArgs_ ] : #paths-in-expressions
379
387
[ _Lifetime_ ] : trait-bounds.md
388
+ [ _LiteralExpression_ ] : expressions/literal-expr.md
389
+ [ _SimplePathSegment_ ] : #simple-paths
380
390
[ _Type_ ] : types.md#type-expressions
381
- [ _Expression_ ] : expressions.md
382
391
[ literal ] : expressions/literal-expr.md
383
392
[ item ] : items.md
384
393
[ variable ] : variables.md
You can’t perform that action at this time.
0 commit comments