mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
16 lines
333 B
Diff
16 lines
333 B
Diff
- // MIR for `bar` before InstrumentCoverage
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
fn bar() -> bool {
|
|
let mut _0: bool;
|
|
|
|
+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:19:1 - 21:2;
|
|
+
|
|
bb0: {
|
|
+ Coverage::CounterIncrement(0);
|
|
_0 = const true;
|
|
return;
|
|
}
|
|
}
|
|
|