mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-11 16:15:03 +00:00
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;
|
|
}
|
|
}
|
|
|