Skip to content

Commit d0b33a2

Browse files
committed
Mention associated const CTFE interactions with generics
1 parent cf06f4a commit d0b33a2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/items/associated-items.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ An *associated constant definition* defines a constant associated with a
294294
type. It is written the same as a [constant item].
295295

296296
Associated constant definitions undergo [constant evaluation] only when
297-
referenced.
297+
referenced. Further, definitions that include [generic parameters] are
298+
evaluated after monomorphization.
298299

299300
```rust
300301
struct Struct;

0 commit comments

Comments
 (0)