1 // MIR for `main` after built
6 let mut _2: std::option::Option<i32>;
9 let mut _5: &std::option::Option<i32>;
13 let _9: std::option::Option<i32>;
18 let _14: std::option::Option<i32>;
39 _2 = Option::<i32>::Some(const 1_i32);
40 FakeRead(ForMatchedPlace(None), _2);
41 _4 = discriminant(_2);
42 switchInt(move _4) -> [1: bb2, otherwise: bb1];
46 falseEdge -> [real: bb13, imaginary: bb6];
50 falseEdge -> [real: bb8, imaginary: bb1];
58 _3 = discriminant(_2);
59 switchInt(move _3) -> [1: bb6, otherwise: bb5];
71 falseEdge -> [real: bb14, imaginary: bb5];
80 _7 = &((_2 as Some).0: i32);
83 _8 = guard() -> [return: bb9, unwind: bb20];
87 switchInt(move _8) -> [0: bb11, otherwise: bb10];
92 FakeRead(ForMatchGuard, _5);
93 FakeRead(ForGuardBinding, _7);
95 _6 = ((_2 as Some).0: i32);
109 falseEdge -> [real: bb3, imaginary: bb1];
122 _11 = &((_2 as Some).0: i32);
127 _12 = guard2(move _13) -> [return: bb15, unwind: bb20];
131 switchInt(move _12) -> [0: bb17, otherwise: bb16];
137 FakeRead(ForMatchGuard, _5);
138 FakeRead(ForGuardBinding, _11);
140 _10 = ((_2 as Some).0: i32);
155 falseEdge -> [real: bb7, imaginary: bb5];