]> git.lizzy.rs Git - rust.git/blob - tests/fail/unreachable.stderr
pointer tag tracking: on creation, log the offsets it is created for
[rust.git] / tests / fail / unreachable.stderr
1 error: Undefined Behavior: entering unreachable code
2   --> RUSTLIB/core/src/hint.rs:LL:CC
3    |
4 LL |     unsafe { intrinsics::unreachable() }
5    |              ^^^^^^^^^^^^^^^^^^^^^^^^^ entering unreachable code
6    |
7    = help: this indicates a bug in the program: it performed an invalid operation, and caused Undefined Behavior
8    = help: see https://doc.rust-lang.org/nightly/reference/behavior-considered-undefined.html for further information
9    = note: backtrace:
10    = note: inside `std::hint::unreachable_unchecked` at RUSTLIB/core/src/hint.rs:LL:CC
11 note: inside `main` at $DIR/unreachable.rs:LL:CC
12   --> $DIR/unreachable.rs:LL:CC
13    |
14 LL |     unsafe { std::hint::unreachable_unchecked() }
15    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
16
17 note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
18
19 error: aborting due to previous error
20