raw ptrs must be initialized like integers

pull/149/head
Ralf Jung 6 years ago
parent 1f613d8255
commit c73730bb8a

@ -35,7 +35,8 @@ language cares about is preventing the following things:
* `dyn Trait` metadata is invalid if it is not a pointer to a vtable for
`Trait` that matches the actual dynamic trait the reference points to
* a non-utf8 `str`
* an uninitialized integer (`i*`/`u*`) or floating point value (`f*`)
* an uninitialized integer (`i*`/`u*`), floating point value (`f*`), or raw
pointer
* an invalid library type with custom invalid values, such as a `NonNull` or
`NonZero*` that is 0
* Unwinding into another language

Loading…
Cancel
Save