diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-05 21:59:10 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-08 20:43:08 +1100 |
| commit | 3c30fe3423b1e7d92584436493bd8fa6f17e13d0 (patch) | |
| tree | a8a90f923fb2cfef11e531817a9c85a79b669055 /tests/coverage/simple_loop.cov-map | |
| parent | 996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (diff) | |
| download | rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.tar.gz rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.zip | |
coverage: Restrict empty-span expansion to only cover `{` and `}`
Diffstat (limited to 'tests/coverage/simple_loop.cov-map')
| -rw-r--r-- | tests/coverage/simple_loop.cov-map | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/coverage/simple_loop.cov-map b/tests/coverage/simple_loop.cov-map index b6f1e8f6afe..d1e684efbbc 100644 --- a/tests/coverage/simple_loop.cov-map +++ b/tests/coverage/simple_loop.cov-map @@ -1,5 +1,5 @@ Function name: simple_loop::main -Raw bytes (43): 0x[01, 01, 02, 01, 05, 01, 09, 07, 01, 04, 01, 09, 10, 05, 0a, 05, 05, 06, 02, 05, 06, 00, 07, 07, 05, 0d, 02, 0e, 01, 04, 0d, 00, 12, 09, 02, 0a, 03, 0a, 01, 06, 01, 00, 02] +Raw bytes (43): 0x[01, 01, 02, 01, 05, 01, 09, 07, 01, 04, 01, 09, 10, 05, 0a, 05, 05, 06, 02, 05, 05, 00, 06, 07, 05, 0d, 02, 0e, 01, 04, 0d, 00, 12, 09, 02, 0a, 03, 0a, 01, 06, 01, 00, 02] Number of files: 1 - file 0 => global file 1 Number of expressions: 2 @@ -8,7 +8,7 @@ Number of expressions: 2 Number of file 0 mappings: 7 - Code(Counter(0)) at (prev + 4, 1) to (start + 9, 16) - Code(Counter(1)) at (prev + 10, 5) to (start + 5, 6) -- Code(Expression(0, Sub)) at (prev + 5, 6) to (start + 0, 7) +- Code(Expression(0, Sub)) at (prev + 5, 5) to (start + 0, 6) = (c0 - c1) - Code(Expression(1, Add)) at (prev + 5, 13) to (start + 2, 14) = (c0 + c2) |
