You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: Undefined Behavior: accessing a dead local variable
2
+
--> $DIR/storage-live-dead-var.rs:LL:CC
3
+
|
4
+
LL | val = 42;
5
+
| ^^^^^^^^ accessing a dead local variable
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 `main` at $DIR/storage-live-dead-var.rs:LL:CC
11
+
12
+
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
error: Undefined Behavior: constructing invalid value: encountered uninitialized memory, but expected an integer
2
+
--> $DIR/storage-live-resets-var.rs:LL:CC
3
+
|
4
+
LL | _val2 = val;
5
+
| ^^^^^^^^^^^ constructing invalid value: encountered uninitialized memory, but expected an integer
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 `main` at $DIR/storage-live-resets-var.rs:LL:CC
11
+
12
+
note: some details are omitted, run with `MIRIFLAGS=-Zmiri-backtrace=full` for a verbose backtrace
0 commit comments