1 - // MIR for `main` before ConstProp
2 + // MIR for `main` after ConstProp
5 let mut _0: (); // return place in scope 0 at $DIR/simplify_match.rs:+0:11: +0:11
6 let mut _1: bool; // in scope 0 at $DIR/simplify_match.rs:+1:11: +1:31
7 let _2: bool; // in scope 0 at $DIR/simplify_match.rs:+1:17: +1:18
9 debug x => _2; // in scope 1 at $DIR/simplify_match.rs:+1:17: +1:18
13 StorageLive(_1); // scope 0 at $DIR/simplify_match.rs:+1:11: +1:31
14 StorageLive(_2); // scope 0 at $DIR/simplify_match.rs:+1:17: +1:18
15 _2 = const false; // scope 0 at $DIR/simplify_match.rs:+1:21: +1:26
16 - _1 = _2; // scope 1 at $DIR/simplify_match.rs:+1:28: +1:29
17 + _1 = const false; // scope 1 at $DIR/simplify_match.rs:+1:28: +1:29
18 StorageDead(_2); // scope 0 at $DIR/simplify_match.rs:+1:30: +1:31
19 - switchInt(_1) -> [false: bb1, otherwise: bb2]; // scope 0 at $DIR/simplify_match.rs:+1:5: +1:31
20 + switchInt(const false) -> [false: bb1, otherwise: bb2]; // scope 0 at $DIR/simplify_match.rs:+1:5: +1:31
24 nop; // scope 0 at $DIR/simplify_match.rs:+3:18: +3:20
25 goto -> bb3; // scope 0 at $DIR/simplify_match.rs:+3:18: +3:20
29 _0 = noop() -> bb3; // scope 0 at $DIR/simplify_match.rs:+2:17: +2:23
31 // + span: $DIR/simplify_match.rs:7:17: 7:21
32 // + literal: Const { ty: fn() {noop}, val: Value(<ZST>) }
36 StorageDead(_1); // scope 0 at $DIR/simplify_match.rs:+5:1: +5:2
37 return; // scope 0 at $DIR/simplify_match.rs:+5:2: +5:2