diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2025-03-29 21:33:01 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2025-04-01 13:07:33 +1100 |
| commit | 577272eedeaace00aa695135b3b8fee3768536a5 (patch) | |
| tree | 06840554b25497719eb44cc3fd166300991fac1f /tests/coverage/inline-dead.cov-map | |
| parent | e80a3e22328641b43a5ea66bfafdfe5950686779 (diff) | |
| download | rust-577272eedeaace00aa695135b3b8fee3768536a5.tar.gz rust-577272eedeaace00aa695135b3b8fee3768536a5.zip | |
coverage: Shrink call spans to just the function name
This is a way to shrink call spans that doesn't involve mixing different spans, and avoids overlap with argument spans. This patch also removes some low-value comments that were causing rustfmt to ignore the match arms.
Diffstat (limited to 'tests/coverage/inline-dead.cov-map')
| -rw-r--r-- | tests/coverage/inline-dead.cov-map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/inline-dead.cov-map b/tests/coverage/inline-dead.cov-map index 49cdc514fed..65cefe76c29 100644 --- a/tests/coverage/inline-dead.cov-map +++ b/tests/coverage/inline-dead.cov-map @@ -8,14 +8,14 @@ Number of file 0 mappings: 1 Highest counter ID seen: (none) Function name: inline_dead::live::<false> -Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 0e, 01, 01, 09, 05, 02, 09, 00, 0f, 02, 02, 09, 00, 0a, 01, 02, 01, 00, 02] +Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 0e, 01, 01, 09, 05, 02, 09, 00, 0d, 02, 02, 09, 00, 0a, 01, 02, 01, 00, 02] Number of files: 1 - file 0 => global file 1 Number of expressions: 1 - expression 0 operands: lhs = Counter(0), rhs = Counter(1) Number of file 0 mappings: 4 - Code(Counter(0)) at (prev + 14, 1) to (start + 1, 9) -- Code(Counter(1)) at (prev + 2, 9) to (start + 0, 15) +- Code(Counter(1)) at (prev + 2, 9) to (start + 0, 13) - Code(Expression(0, Sub)) at (prev + 2, 9) to (start + 0, 10) = (c0 - c1) - Code(Counter(0)) at (prev + 2, 1) to (start + 0, 2) |
