]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/unaligned_pointers/atomic_unaligned.stderr
Rollup merge of #102095 - oli-obk:simplify, r=TaKO8Ki
[rust.git] / src / tools / miri / tests / fail / unaligned_pointers / atomic_unaligned.stderr
1 error: Undefined Behavior: accessing memory with alignment ALIGN, but alignment ALIGN is required
2   --> $DIR/atomic_unaligned.rs:LL:CC
3    |
4 LL |         ::std::intrinsics::atomic_load_seqcst(zptr);
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ accessing memory with alignment ALIGN, but alignment ALIGN is required
6    |
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
9    = note: BACKTRACE:
10    = note: inside `main` at $DIR/atomic_unaligned.rs:LL:CC
11
12 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
13
14 error: aborting due to previous error
15