File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ mod m {
5353>   ;  ; | ` < ` ( _ GenericArg_ ` , ` )<sup >\* </sup > _ GenericArg_ ` , ` <sup >?</sup > ` > `
5454>
5555> _ GenericArg_ :\
56- >   ;  ; [ _ Lifetime_ ] | [ _ Type_ ] | _ GenericArgsConst_ | _ GenericArgsBinding_
56+ >   ;  ; [ _ Lifetime_ ] | [ _ Type_ ] | _ GenericArgsConst_ | _ GenericArgsBinding_ | _ GenericArgsBounds _
5757>
5858> _ GenericArgsConst_ :\
5959>   ;  ;   ;  ; [ _ BlockExpression_ ] \
@@ -62,7 +62,10 @@ mod m {
6262>   ;  ; | [ _ SimplePathSegment_ ]
6363>
6464> _ GenericArgsBinding_ :\
65- >   ;  ; [ IDENTIFIER] ` = ` [ _ Type_ ]
65+ >   ;  ; [ IDENTIFIER] _ GenericArgs_ <sup >?</sup > ` = ` [ _ Type_ ]
66+ >
67+ > _ GenericArgsBounds_ :\
68+ >   ;  ; [ IDENTIFIER] _ GenericArgs_ <sup >?</sup > ` : ` [ _ TypeParamBounds_ ]
6669
6770Paths in expressions allow for paths with generic arguments to be specified. They are
6871used in various places in [ expressions] and [ patterns] .
@@ -396,6 +399,7 @@ mod without { // crate::without
396399[ _SimplePathSegment_ ] : #simple-paths
397400[ _Type_ ] : types.md#type-expressions
398401[ _TypeNoBounds_ ] : types.md#type-expressions
402+ [ _TypeParamBounds_ ] : trait-bounds.md
399403[ literal ] : expressions/literal-expr.md
400404[ item ] : items.md
401405[ variable ] : variables.md
You can’t perform that action at this time.
0 commit comments