about summary refs log tree commit diff
path: root/tests/coverage/closure.coverage
diff options
context:
space:
mode:
Diffstat (limited to 'tests/coverage/closure.coverage')
-rw-r--r--tests/coverage/closure.coverage1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coverage/closure.coverage b/tests/coverage/closure.coverage
index 67014f792c8..58224eeaf62 100644
--- a/tests/coverage/closure.coverage
+++ b/tests/coverage/closure.coverage
@@ -5,6 +5,7 @@
    LL|       |// `rustc_middle/mir/mono.rs`, but those hacks were later cleaned up by
    LL|       |// <https://github.com/rust-lang/rust/pull/83666>.
    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