https://doc.rust-lang.org/nomicon/exotic-sizes.html#zero-sized-types-zsts
https://doc.rust-lang.org/stable/std/ptr/index.html#safety
the docs and the nomicon are updated. All pointers of zero-sized-types (including null pointers) are valid now. So this is not UB anymore.