File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -311,13 +311,17 @@ Generic Arguments
311
311
312
312
GenericArgument ::=
313
313
BindingArgument
314
+ | BindingBoundArgument
314
315
| ConstantArgument
315
316
| LifetimeArgument
316
317
| TypeArgument
317
318
318
319
BindingArgument ::=
319
320
Identifier $$=$$ TypeSpecification
320
321
322
+ BindingBoundArgument ::=
323
+ Identifier $$:$$ TypeBoundList
324
+
321
325
ConstantArgument ::=
322
326
BlockExpression
323
327
| $$-$$? LiteralExpression
@@ -349,6 +353,16 @@ A :s:`LifetimeArgument` shall precede :s:`[BindingArgument]s`,
349
353
A :t: `binding argument ` is a :t: `generic argument ` that supplies the :t: `type `
350
354
of an :t: `associated trait type `.
351
355
356
+ :dp: `fls_mcUMWsYcxzmZ `
357
+ A :t: `binding bound argument ` is a :t: `generic argument ` that further imposes
358
+ :t: `[bound]s ` on an :t: `associated trait type `.
359
+
360
+ :dp: `fls_dxMfAI4EZVS5 `
361
+ A :t: `binding bound argument ` shall only be used within the confines of a
362
+ :t: `type bound predicate `'s :t: `[bound]s `, :t: `[impl trait type] `'s
363
+ :t: `[bound]s `, :t: `associated type `'s :t: `[bound]s ` or :t: `trait `'s
364
+ :t: `[supertrait]s `.
365
+
352
366
:dp: `fls_i3z9ueoe99zd `
353
367
A :t: `constant argument ` is a :t: `generic argument ` that supplies the
354
368
:t: `value ` of a :t: `constant parameter `.
Original file line number Diff line number Diff line change @@ -699,6 +699,15 @@ binding argument
699
699
A :dt: `binding argument ` is a :t: `generic argument ` that supplies the :t: `type `
700
700
of an :t: `associated trait type `.
701
701
702
+ .. _fls_t2cit5QOte8U :
703
+
704
+ binding bound argument
705
+ ^^^^^^^^^^^^^^^^^^^^^^
706
+
707
+ :dp: `fls_D3i3n4RIReCA `
708
+ A :dt: `binding bound argument ` is a :t: `generic argument ` that further imposes
709
+ :t: `[bound]s ` on an :t: `associated trait type `.
710
+
702
711
.. _fls_bv1k866tai6j :
703
712
704
713
binding mode
@@ -4068,7 +4077,6 @@ main function signature
4068
4077
^^^^^^^^^^^^^^^^^^^^^^^
4069
4078
4070
4079
:dp: `fls_QijObGZEIykU `
4071
-
4072
4080
A :dt: `main function signature ` is a :t: `function signature ` subject to specific
4073
4081
restrictions.
4074
4082
You can’t perform that action at this time.
0 commit comments