]> git.lizzy.rs Git - rust.git/blob - src/test/mir-opt/uninhabited_enum.process_void.SimplifyLocals.after.mir
Auto merge of #83314 - Aaron1011:print-unstable-value, r=lcnr
[rust.git] / src / test / mir-opt / uninhabited_enum.process_void.SimplifyLocals.after.mir
1 // MIR for `process_void` after SimplifyLocals
2
3 fn process_void(_1: *const Void) -> () {
4     debug input => _1;                   // in scope 0 at $DIR/uninhabited-enum.rs:13:21: 13:26
5     let mut _0: ();                      // return place in scope 0 at $DIR/uninhabited-enum.rs:13:41: 13:41
6     let _2: &Void;                       // in scope 0 at $DIR/uninhabited-enum.rs:14:8: 14:14
7     scope 1 {
8         debug _input => _2;              // in scope 1 at $DIR/uninhabited-enum.rs:14:8: 14:14
9     }
10     scope 2 {
11     }
12
13     bb0: {
14         StorageLive(_2);                 // scope 0 at $DIR/uninhabited-enum.rs:14:8: 14:14
15         _2 = &(*_1);                     // scope 2 at $DIR/uninhabited-enum.rs:14:26: 14:33
16         StorageDead(_2);                 // scope 0 at $DIR/uninhabited-enum.rs:17:1: 17:2
17         return;                          // scope 0 at $DIR/uninhabited-enum.rs:17:2: 17:2
18     }
19 }