2020-06-10 09:54:02 -07:00
|
|
|
- // MIR for `bar` before InstrumentCoverage
|
|
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
|
|
|
|
fn bar() -> bool {
|
2023-06-06 09:47:00 -04:00
|
|
|
let mut _0: bool;
|
2020-06-10 09:54:02 -07:00
|
|
|
|
2023-12-28 14:07:18 +11:00
|
|
|
+ coverage Code(Counter(0)) => /the/src/instrument_coverage.rs:21:1 - 23:2;
|
2023-09-13 12:51:43 +10:00
|
|
|
+
|
2020-06-10 09:54:02 -07:00
|
|
|
bb0: {
|
2023-09-13 12:51:43 +10:00
|
|
|
+ Coverage::CounterIncrement(0);
|
2023-06-06 09:47:00 -04:00
|
|
|
_0 = const true;
|
|
|
|
return;
|
2020-06-10 09:54:02 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|