fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
971 B19 linesraw
1error: Undefined Behavior: constructing invalid value: encountered a dangling reference ($HEX[noalloc] has no provenance)
2  --> $DIR/branchless-select-i128-pointer.rs:LL:CC
3   |
4LL | /             transmute::<_, &str>(
5LL | |
6LL | |                 !mask & transmute::<_, TwoPtrs>("false !")
7LL | |                     | mask & transmute::<_, TwoPtrs>("true !"),
8LL | |             )
9   | |_____________^ constructing invalid value: encountered a dangling reference ($HEX[noalloc] has no provenance)
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
16note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
17
18error: aborting due to previous error
19