| error: Undefined Behavior: reading memory at ALLOC[0x0..0x1], but memory is uninitialized at [0x0..0x1], and this operation requires initialized memory |
| --> tests/fail/match/single_variant_uninit.rs:LL:CC |
| | |
| LL | match *nexh { |
| | ^^^^^ Undefined Behavior occurred here |
| | |
| = 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 |
| |
| Uninitialized memory occurred at ALLOC[0x0..0x1], in this allocation: |
| ALLOC (stack variable, size: 2, align: 1) { |
| __ 00 │ ░. |
| } |
| |
| note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace |
| |
| error: aborting due to 1 previous error |
| |