1 // Test that we don't generate unnecessarily large MIR for very simple matches
3 fn match_bool(x: bool) -> usize {
14 // START rustc.match_bool.mir_map.0.mir
16 // FakeRead(ForMatchedPlace, _1);
17 // switchInt(_1) -> [false: bb3, otherwise: bb2];
23 // falseEdges -> [real: bb4, imaginary: bb3];
26 // _0 = const 20usize;
30 // _0 = const 10usize;
39 // END rustc.match_bool.mir_map.0.mir