about summary refs log tree commit diff
path: root/src/tools/miri/tests/fail/unaligned_pointers/promise_alignment_zero.stderr
blob: 600e39907a2bbc69a184b3d88a37119b33ee349e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: unsupported operation: `miri_promise_symbolic_alignment`: alignment must be a power of 2, got 0
  --> tests/fail/unaligned_pointers/promise_alignment_zero.rs:LL:CC
   |
LL |     unsafe { utils::miri_promise_symbolic_alignment(buffer.as_ptr().cast(), 0) };
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsupported operation occurred here
   |
   = help: this is likely not a bug in the program; it indicates that the program performed an operation that Miri does not support
   = note: BACKTRACE:
   = note: inside `main` at tests/fail/unaligned_pointers/promise_alignment_zero.rs:LL:CC

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

error: aborting due to 1 previous error