about summary refs log tree commit diff
path: root/tests/coverage/if.coverage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/if.coverage')
-rw-r--r--tests/coverage/if.coverage1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coverage/if.coverage b/tests/coverage/if.coverage
index 2e6845190aa..77db24ef51b 100644
--- a/tests/coverage/if.coverage
+++ b/tests/coverage/if.coverage
@@ -1,5 +1,6 @@
    LL|       |#![allow(unused_assignments, unused_variables)]
    LL|       |
+   LL|       |#[rustfmt::skip]
    LL|      1|fn main() {
    LL|      1|    // Initialize test constants in a way that cannot be determined at compile time, to ensure
    LL|      1|    // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from