I don't see an issue about this (although #307) is close, and I'm pretty sure this is undecided.
Can we use assignment (and not ptr::write()) to write to an uninitialized place of a type that does not have a drop glue? That is, this:
fn main() {
let mut v = std::mem::MaybeUninit::<i32>::uninit();
unsafe {
*v.as_mut_ptr() = 123;
}
}
Miri does not flag this.