mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 14:48:41 +00:00

This reverts commit adf9b5fcd1de43eaf0a779e10612caee8b47bede, reversing changes made to af1ca153d4aed5ffe22445273aa388a8d3f8f4ae. Reverting due to <https://github.com/rust-lang/rust/issues/133606>.
17 lines
376 B
Diff
17 lines
376 B
Diff
- // MIR for `bar` before InstrumentCoverage
|
|
+ // MIR for `bar` after InstrumentCoverage
|
|
|
|
fn bar() -> bool {
|
|
let mut _0: bool;
|
|
|
|
+ coverage body span: $DIR/instrument_coverage.rs:19:18: 21:2 (#0)
|
|
+ coverage Code(Counter(0)) => 19:1 - 21:2;
|
|
+
|
|
bb0: {
|
|
+ Coverage::CounterIncrement(0);
|
|
_0 = const true;
|
|
return;
|
|
}
|
|
}
|
|
|