2023-04-25 15:09:41 -05:00
|
|
|
- // MIR for `main` before DeadStoreElimination
|
|
|
|
+ // MIR for `main` after DeadStoreElimination
|
|
|
|
|
|
|
|
fn main() -> () {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: ();
|
|
|
|
let mut _1: (&str, &str);
|
2023-04-25 15:09:41 -05:00
|
|
|
scope 1 {
|
|
|
|
}
|
|
|
|
|
|
|
|
bb0: {
|
2023-06-06 08:47:00 -05:00
|
|
|
StorageLive(_1);
|
|
|
|
_1 = (const "Hello", const "World");
|
|
|
|
PlaceMention(_1);
|
|
|
|
StorageDead(_1);
|
|
|
|
_0 = const ();
|
|
|
|
return;
|
2023-04-25 15:09:41 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|