ee9d00f6b8
This makes it possible for a `StatementKind::Coverage` to hold more than one code region, but that capability is not yet used.
14 lines
295 B
Diff
14 lines
295 B
Diff
- // MIR for `bar` before InstrumentCoverage
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
fn bar() -> bool {
|
|
let mut _0: bool;
|
|
|
|
bb0: {
|
|
+ Coverage::Counter(0) for [/the/src/instrument_coverage.rs:20:1 - 22:2];
|
|
_0 = const true;
|
|
return;
|
|
}
|
|
}
|
|
|