diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-06-11 22:13:40 +1000 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-06-12 22:38:16 +1000 |
| commit | dc6def3042074f38e7c6bdaba3038fb2b1f0e2aa (patch) | |
| tree | 025116663fb5b47eff78ba2c777901ad205fc81e /tests/coverage/assert-ne.cov-map | |
| parent | 02c7a5921e3de5c2b3ecb2e0082c1dafce0729a1 (diff) | |
| download | rust-dc6def3042074f38e7c6bdaba3038fb2b1f0e2aa.tar.gz rust-dc6def3042074f38e7c6bdaba3038fb2b1f0e2aa.zip | |
coverage: Add `tests/coverage/assert-ne.rs`
This test extracts a fragment of `issue-84561.rs` that has historically proven troublesome when trying to modify how spans are extracted from MIR.
Diffstat (limited to 'tests/coverage/assert-ne.cov-map')
| -rw-r--r-- | tests/coverage/assert-ne.cov-map | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/coverage/assert-ne.cov-map b/tests/coverage/assert-ne.cov-map new file mode 100644 index 00000000000..6d9906fd7f5 --- /dev/null +++ b/tests/coverage/assert-ne.cov-map @@ -0,0 +1,13 @@ +Function name: assert_ne::main +Raw bytes (26): 0x[01, 01, 01, 01, 05, 04, 01, 08, 01, 03, 1c, 05, 04, 0d, 00, 13, 02, 02, 0d, 00, 13, 09, 03, 05, 01, 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 + 8, 1) to (start + 3, 28) +- 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) +- Code(Counter(2)) at (prev + 3, 5) to (start + 1, 2) + |
