2020-06-10 11:54:02 -05:00
|
|
|
- // MIR for `bar` before InstrumentCoverage
|
|
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
|
|
|
|
fn bar() -> bool {
|
2023-06-06 08:47:00 -05:00
|
|
|
let mut _0: bool;
|
2020-06-10 11:54:02 -05:00
|
|
|
|
2024-03-24 06:00:08 -05:00
|
|
|
+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:19:1 - 21:2;
|
2023-09-12 21:51:43 -05:00
|
|
|
+
|
2020-06-10 11:54:02 -05:00
|
|
|
bb0: {
|
2023-09-12 21:51:43 -05:00
|
|
|
+ Coverage::CounterIncrement(0);
|
2023-06-06 08:47:00 -05:00
|
|
|
_0 = const true;
|
|
|
|
return;
|
2020-06-10 11:54:02 -05:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|