File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 3434 does not support (see [ ` target_feature ` ] ).
3535* Unwinding into another language.
3636* Producing an invalid value, even in private fields and locals. "Producing" a
37- value happens any time a value is assigned, passed to a function/primitive
38- operation or returned from a function/primitive operation.
37+ value happens any time a value is assigned to or read from a place, passed to
38+ a function/primitive operation or returned from a function/primitive
39+ operation.
3940 The following values are invalid (at their respective type):
4041 * A value other than ` false ` (` 0 ` ) or ` true ` (` 1 ` ) in a ` bool ` .
4142 * A discriminant in an ` enum ` not included in the type definition.
4546 * [ Uninitialized memory] [ undef ] in the value of an integer (` i* ` /` u* ` ),
4647 floating point value (` f* ` ), or raw pointer.
4748 * A reference or ` Box<T> ` that is dangling, unaligned, or points to an invalid value.
48- * Invalid metadata in a wide reference, ` Box ` , or raw pointer:
49+ * Invalid metadata in a wide reference, ` Box<T> ` , or raw pointer:
4950 * ` dyn Trait ` metadata is invalid if it is not a pointer to a vtable for
5051 ` Trait ` that matches the actual dynamic trait the pointer or reference points to.
5152 * Slice metadata is invalid if if the length is not a valid ` usize `
You can’t perform that action at this time.
0 commit comments