File tree Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Expand file tree Collapse file tree 3 files changed +23
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,14 @@ within a :t:`trait`.
107
107
An :t: `associated trait function ` is an :t: `associated function ` that appears
108
108
within a :t: `trait `.
109
109
110
+ :dp: `fls_2TRwCz38kuRz `
111
+ An :t: `associated trait function ` shall not be subject to :t: `keyword ` ``const ``.
112
+
113
+ :dp: `fls_WnsVATJvUdza `
114
+ Every occurrence of an :t: `impl trait type ` in the :t: `return type ` of an
115
+ :t: `associated trait function ` is equivalent to referring to a new
116
+ anonymous :t: `associated trait type ` of the :t: `implemented trait `.
117
+
110
118
:dp: `fls_yyhebj4qyk34 `
111
119
An :t: `associated trait type ` is an :t: `associated type ` that appears within
112
120
a :t: `trait `.
@@ -136,6 +144,16 @@ is equivalent to a :t:`where clause` of the following form:
136
144
type X;
137
145
}
138
146
147
+ :dp: `fls_amWtS80fPtza `
148
+ An :t: `associated trait implementation function ` is an :t: `associated function `
149
+ that appears within a :t: `trait implementation `.
150
+
151
+ :dp: `fls_Cu8FWrisrqz1 `
152
+ Every occurrence of an :t: `impl trait type ` in the :t: `return type ` of an
153
+ :t: `associated trait implementation function ` is equivalent to referring to the
154
+ corresponding :t: `associated trait type ` of the corresponding :t: `associated
155
+ trait function `.
156
+
139
157
:dp: `fls_oy92gzxgc273 `
140
158
A :t: `method ` is an :t: `associated function ` with a :t: `self parameter `.
141
159
Original file line number Diff line number Diff line change @@ -345,6 +345,10 @@ The :t:`evaluation` of a :t:`constant expression` that results in
345
345
It is a static error if a :t: `constant expression ` either :t: `[panic]s ` or
346
346
control reaches the invocation of :t: `macro ` :std: `core::panic `.
347
347
348
+ :dp: `fls_XopG4yS9Q4q1 `
349
+ It is a static error if the evaluation of a :t: `constant expression ` results in
350
+ a :t: `value ` that is unaligned.
351
+
348
352
.. rubric :: Dynamic Semantics
349
353
350
354
:dp: `fls_tg0kya5125jt `
Original file line number Diff line number Diff line change @@ -4526,7 +4526,7 @@ null
4526
4526
^^^^
4527
4527
4528
4528
:dp: `fls_8sh17t37b2ml `
4529
- A :dc: `null ` :t: `value ` denotes a tool-defined address.
4529
+ A :dc: `null ` :t: `value ` denotes the address `` 0 `` .
4530
4530
4531
4531
.. _fls_a0qsojiymgjy :
4532
4532
You can’t perform that action at this time.
0 commit comments