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/assert-ne.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/assert-ne.cov-map')
| -rw-r--r-- | tests/coverage/assert-ne.cov-map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/assert-ne.cov-map b/tests/coverage/assert-ne.cov-map index b432e63c168..27d4b0382de 100644 --- a/tests/coverage/assert-ne.cov-map +++ b/tests/coverage/assert-ne.cov-map @@ -1,12 +1,12 @@ Function name: assert_ne::main -Raw bytes (28): 0x[01, 01, 02, 01, 05, 01, 09, 04, 01, 08, 01, 03, 1c, 05, 04, 0d, 00, 13, 02, 02, 0d, 00, 13, 06, 03, 05, 01, 02] +Raw bytes (28): 0x[01, 01, 02, 01, 05, 01, 09, 04, 01, 08, 01, 03, 15, 05, 04, 0d, 00, 13, 02, 02, 0d, 00, 13, 06, 03, 05, 01, 02] Number of files: 1 - file 0 => global file 1 Number of expressions: 2 - expression 0 operands: lhs = Counter(0), rhs = Counter(1) - expression 1 operands: lhs = Counter(0), rhs = Counter(2) Number of file 0 mappings: 4 -- Code(Counter(0)) at (prev + 8, 1) to (start + 3, 28) +- Code(Counter(0)) at (prev + 8, 1) to (start + 3, 21) - Code(Counter(1)) at (prev + 4, 13) to (start + 0, 19) - Code(Expression(0, Sub)) at (prev + 2, 13) to (start + 0, 19) = (c0 - c1) |
