Skip to content

Commit e075fc4

Browse files
committed
Note about where clauses on type aliases
Closes #123
1 parent 5c5c00d commit e075fc4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

guide/items.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ where
340340
T: Bound,
341341
U: AnotherBound; // Note, no trailing comma.
342342

343+
// Note that where clauses on `type` aliases are not enforced and should not
344+
// be used.
343345
type Foo<T>
344346
where
345347
T: Bound

0 commit comments

Comments
 (0)