diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-04 14:53:52 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-08 20:43:08 +1100 |
| commit | 996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (patch) | |
| tree | 3c44dd80474a573f397633692ab0241e474c716e /tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff | |
| parent | 3f9c54caf04f74529c178326fa594a8464071f0a (diff) | |
| download | rust-996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a.tar.gz rust-996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a.zip | |
coverage: Remove unhelpful code for handling multiple files per function
Functions currently can't have mappings in multiple files, and if that ever changes (e.g. to properly support expansion regions), this code will need to be completely overhauled anyway.
Diffstat (limited to 'tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff')
| -rw-r--r-- | tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff b/tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff index 01b01ea5c17..2efb1fd0a17 100644 --- a/tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff +++ b/tests/mir-opt/coverage/instrument_coverage.bar.InstrumentCoverage.diff @@ -4,7 +4,8 @@ fn bar() -> bool { let mut _0: bool; -+ coverage Code(Counter(0)) => $DIR/instrument_coverage.rs:19:1 - 21:2; ++ coverage body span: $DIR/instrument_coverage.rs:19:18: 21:2 (#0) ++ coverage Code(Counter(0)) => 19:1 - 21:2; + bb0: { + Coverage::CounterIncrement(0); |
