File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,13 +22,14 @@ language cares about is preventing the following things:
2222* Breaking the [ pointer aliasing rules] [ ]
2323* Producing invalid primitive values (either alone or as a field of a compound
2424 type such as ` enum ` /` struct ` /array/tuple):
25- * dangling/null/unaligned references, references that do themselves point to
26- invalid values, or fat references (to a dynamically sized type) with
27- invalid metadata
28- * null ` fn ` pointers
2925 * a ` bool ` that isn't 0 or 1
3026 * an undefined ` enum ` discriminant
27+ * null ` fn ` pointers
3128 * a ` char ` outside the ranges [ 0x0, 0xD7FF] and [ 0xE000, 0x10FFFF]
29+ * a ` ! ` (all values are invalid for this type)
30+ * dangling/null/unaligned references, references that do themselves point to
31+ invalid values, or fat references (to a dynamically sized type) with
32+ invalid metadata
3233 * a non-utf8 ` str `
3334 * an uninitialized integer (` i* ` /` u* ` ) or floating point value (` f* ` )
3435 * an invalid library type with custom invalid values, such as a ` NonNull ` or
You can’t perform that action at this time.
0 commit comments