error: Undefined Behavior: in-bounds pointer arithmetic failed: attempting to offset pointer by -1 bytes, but got ALLOC-0x1 which points to before the beginning of the allocation
  --> tests/fail/intrinsics/ptr_offset_out_of_bounds_neg2.rs:LL:CC
   |
LL |     let x = unsafe { x.wrapping_offset(-1).offset(-1) };
   |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Undefined Behavior occurred here
   |
   = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
   = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
help: ALLOC was allocated here:
  --> tests/fail/intrinsics/ptr_offset_out_of_bounds_neg2.rs:LL:CC
   |
LL |     let v = [0i8; 4];
   |         ^

note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace

error: aborting due to 1 previous error

