about summary refs log tree commit diff
path: root/tests/coverage/holes.coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-03-25 20:34:32 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-04-01 13:13:20 +1100
commit62a533ce7801ac35344f3ebaa983e90dbeba447a (patch)
treecd42bc7e0af0128dce0289a976264529865bc3c1 /tests/coverage/holes.coverage
parent577272eedeaace00aa695135b3b8fee3768536a5 (diff)
downloadrust-62a533ce7801ac35344f3ebaa983e90dbeba447a.tar.gz
rust-62a533ce7801ac35344f3ebaa983e90dbeba447a.zip
coverage: Instead of splitting, just discard any span that overlaps a hole
Diffstat (limited to 'tests/coverage/holes.coverage')
-rw-r--r--tests/coverage/holes.coverage20
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/coverage/holes.coverage b/tests/coverage/holes.coverage
index 1b45c12156a..a6a02f1b9d0 100644
--- a/tests/coverage/holes.coverage
+++ b/tests/coverage/holes.coverage
@@ -84,18 +84,18 @@
    LL|      1|    // `nested_filter::OnlyBodies` or equivalent.
    LL|      1|    #[rustfmt::skip]
    LL|      1|    let _const_block_inside_anon_const =
-   LL|      1|        [
-   LL|      1|            0
-   LL|      1|            ;
-   LL|      1|            7
-   LL|      1|            +
-   LL|      1|            const
+   LL|       |        [
+   LL|       |            0
+   LL|       |            ;
+   LL|       |            7
+   LL|       |            +
+   LL|       |            const
    LL|       |            {
    LL|       |                3
-   LL|      1|            }
-   LL|      1|        ]
-   LL|      1|        ;
-   LL|      1|
+   LL|       |            }
+   LL|       |        ]
+   LL|       |        ;
+   LL|       |
    LL|      1|    black_box(());
    LL|      1|}