]> git.lizzy.rs Git - rust.git/blob - src/tools/miri/tests/fail/branchless-select-i128-pointer.stderr
Rollup merge of #102187 - b-naber:inline-const-source-info, r=eholk
[rust.git] / src / tools / miri / tests / fail / branchless-select-i128-pointer.stderr
1 error: Undefined Behavior: constructing invalid value: encountered a dangling reference (address $HEX is unallocated)
2   --> $DIR/branchless-select-i128-pointer.rs:LL:CC
3    |
4 LL | /             transmute::<_, &str>(
5 LL | |
6 LL | |                 !mask & transmute::<_, TwoPtrs>("false !")
7 LL | |                     | mask & transmute::<_, TwoPtrs>("true !"),
8 LL | |             )
9    | |_____________^ constructing invalid value: encountered a dangling reference (address $HEX is unallocated)
10    |
11    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
12    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
13    = note: BACKTRACE:
14    = note: inside `main` at $DIR/branchless-select-i128-pointer.rs:LL:CC
15
16 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
17
18 error: aborting due to previous error
19