diff options
Diffstat (limited to 'tests/coverage/closure.rs')
| -rw-r--r-- | tests/coverage/closure.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/coverage/closure.rs b/tests/coverage/closure.rs index 16a2c4e33bd..4be78062f3f 100644 --- a/tests/coverage/closure.rs +++ b/tests/coverage/closure.rs @@ -5,6 +5,7 @@ // `rustc_middle/mir/mono.rs`, but those hacks were later cleaned up by // <https://github.com/rust-lang/rust/pull/83666>. +#[rustfmt::skip] fn main() { // Initialize test constants in a way that cannot be determined at compile time, to ensure // rustc and LLVM cannot optimize out statements (or coverage counters) downstream from |
