5 fn guard2(_: i32) -> bool {
9 // no_mangle to make sure this gets instantiated even in an executable.
11 // EMIT_MIR match_false_edges.full_tested_match.PromoteTemps.after.mir
12 pub fn full_tested_match() {
13 let _ = match Some(42) {
14 Some(x) if guard() => (1, x),
20 // no_mangle to make sure this gets instantiated even in an executable.
22 // EMIT_MIR match_false_edges.full_tested_match2.PromoteTemps.before.mir
23 pub fn full_tested_match2() {
24 let _ = match Some(42) {
25 Some(x) if guard() => (1, x),
31 // EMIT_MIR match_false_edges.main.PromoteTemps.before.mir
33 let _ = match Some(1) {
34 Some(_w) if guard() => 1,
36 Some(y) if guard2(y) => 3,