1 // MIR for `full_tested_match` after built
3 fn full_tested_match() -> () {
5 let mut _1: (i32, i32);
6 let mut _2: std::option::Option<i32>;
8 let mut _4: &std::option::Option<i32>;
28 _2 = Option::<i32>::Some(const 42_i32);
29 FakeRead(ForMatchedPlace(None), _2);
30 _3 = discriminant(_2);
31 switchInt(move _3) -> [0: bb1, 1: bb2, otherwise: bb4];
35 _1 = (const 3_i32, const 3_i32);
40 falseEdge -> [real: bb5, imaginary: bb3];
44 falseEdge -> [real: bb10, imaginary: bb1];
53 _6 = &((_2 as Some).0: i32);
56 _7 = guard() -> [return: bb6, unwind: bb12];
60 switchInt(move _7) -> [0: bb8, otherwise: bb7];
65 FakeRead(ForMatchGuard, _4);
66 FakeRead(ForGuardBinding, _6);
68 _5 = ((_2 as Some).0: i32);
71 _1 = (const 1_i32, move _8);
90 _9 = ((_2 as Some).0: i32);
93 _1 = (const 2_i32, move _10);