rust/tests/fail/intrinsics/raw_eq_on_ptr.stderr

16 lines
657 B
Plaintext
Raw Normal View History

error: Undefined Behavior: `raw_eq` on bytes with provenance
2022-08-12 10:24:55 -05:00
--> $DIR/raw_eq_on_ptr.rs:LL:CC
|
LL | unsafe { raw_eq(&x, &x) };
| ^^^^^^^^^^^^^^ `raw_eq` on bytes with provenance
2022-08-12 10:24:55 -05:00
|
= 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
= note: BACKTRACE:
2022-08-12 10:24:55 -05:00
= note: inside `main` at $DIR/raw_eq_on_ptr.rs:LL:CC
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
error: aborting due to previous error