about summary refs log tree commit diff
path: root/tests/coverage/match_or_pattern.coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-11-05 21:59:10 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-11-08 20:43:08 +1100
commit3c30fe3423b1e7d92584436493bd8fa6f17e13d0 (patch)
treea8a90f923fb2cfef11e531817a9c85a79b669055 /tests/coverage/match_or_pattern.coverage
parent996bdabc2a31cd86086b6f9beba3a8c58c8ceb8a (diff)
downloadrust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.tar.gz
rust-3c30fe3423b1e7d92584436493bd8fa6f17e13d0.zip
coverage: Restrict empty-span expansion to only cover `{` and `}`
Diffstat (limited to 'tests/coverage/match_or_pattern.coverage')
-rw-r--r--tests/coverage/match_or_pattern.coverage8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/coverage/match_or_pattern.coverage b/tests/coverage/match_or_pattern.coverage
index 94c7967215c..a65c226e567 100644
--- a/tests/coverage/match_or_pattern.coverage
+++ b/tests/coverage/match_or_pattern.coverage
@@ -10,7 +10,7 @@
    LL|      1|        a = 2;
    LL|      1|        b = 0;
    LL|      1|    }
-                   ^0
+                  ^0
    LL|      1|    match (a, b) {
    LL|       |        // Or patterns generate MIR `SwitchInt` with multiple targets to the same `BasicBlock`.
    LL|       |        // This test confirms a fix for Issue #79569.
@@ -21,7 +21,7 @@
    LL|      1|        a = 0;
    LL|      1|        b = 0;
    LL|      1|    }
-                   ^0
+                  ^0
    LL|      1|    match (a, b) {
    LL|      0|        (0 | 1, 2 | 3) => {}
    LL|      1|        _ => {}
@@ -30,7 +30,7 @@
    LL|      1|        a = 2;
    LL|      1|        b = 2;
    LL|      1|    }
-                   ^0
+                  ^0
    LL|      1|    match (a, b) {
    LL|      0|        (0 | 1, 2 | 3) => {}
    LL|      1|        _ => {}
@@ -39,7 +39,7 @@
    LL|      1|        a = 0;
    LL|      1|        b = 2;
    LL|      1|    }
-                   ^0
+                  ^0
    LL|      1|    match (a, b) {
    LL|      1|        (0 | 1, 2 | 3) => {}
    LL|      0|        _ => {}