1 error: Undefined Behavior: accessing memory with alignment ALIGN, but alignment ALIGN is required
2 --> $DIR/intptrcast_alignment_check.rs:LL:CC
4 LL | unsafe { *u16_ptr = 2 };
5 | ^^^^^^^^^^^^ accessing memory with alignment ALIGN, but alignment ALIGN is required
7 = help: this usually indicates that your program performed an invalid operation and caused Undefined Behavior
8 = help: but due to `-Zmiri-symbolic-alignment-check`, alignment errors can also be false positives
10 = note: inside `main` at $DIR/intptrcast_alignment_check.rs:LL:CC
12 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
14 error: aborting due to previous error