mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 15:32:06 +00:00
16 lines
331 B
Diff
16 lines
331 B
Diff
- // MIR for `bar` before InstrumentCoverage
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
fn bar() -> bool {
|
|
let mut _0: bool;
|
|
|
|
+ coverage Counter(0) => /the/src/instrument_coverage.rs:21:1 - 23:2;
|
|
+
|
|
bb0: {
|
|
+ Coverage::CounterIncrement(0);
|
|
_0 = const true;
|
|
return;
|
|
}
|
|
}
|
|
|