Skip to content

Commit c9db421

Browse files
RalfJungGankra
authored andcommitted
NonNull, NonZero*
1 parent 423f6b9 commit c9db421

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/what-unsafe-does.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ language cares about is preventing the following things:
2828
* an undefined `enum` discriminant
2929
* a `char` outside the ranges [0x0, 0xD7FF] and [0xE000, 0x10FFFF]
3030
* a non-utf8 `str`
31+
* a `NonNull` or `NonZero*` that is 0
3132
* a compound type (`enum`/`struct`/array/tuple) with an invalid field
3233
* Unwinding into another language
3334
* Causing a [data race][race]

0 commit comments

Comments
 (0)