about summary refs log tree commit diff
path: root/tests/coverage/closure.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-01-21 09:18:48 +0000
committerbors <bors@rust-lang.org>2024-01-21 09:18:48 +0000
commitcb25c5bc3d526a8fb931314cb3a7849115134b04 (patch)
tree3796402da73b4643ceecc186bf4bbba17d0b1229 /tests/coverage/closure.rs
parent867d39cdf625e4db4b381faff993346582e598b4 (diff)
parent01669d27d2e9e26ab247a8f6ae78a9673513c7dd (diff)
downloadrust-cb25c5bc3d526a8fb931314cb3a7849115134b04.tar.gz
rust-cb25c5bc3d526a8fb931314cb3a7849115134b04.zip
Auto merge of #120187 - Nadrieril:rollup-xfwrb0c, r=Nadrieril
Rollup of 8 pull requests

Successful merges:

 - #116090 (Implement strict integer operations that panic on overflow)
 - #118811 (Use `bool` instead of `PartiolOrd` as return value of the comparison closure in `{slice,Iteraotr}::is_sorted_by`)
 - #119081 (Add Ipv6Addr::is_ipv4_mapped)
 - #119461 (Use an interpreter in MIR jump threading)
 - #119996 (Move OS String implementation into `sys`)
 - #120015 (coverage: Format all coverage tests with `rustfmt`)
 - #120027 (pattern_analysis: Remove `Ty: Copy` bound)
 - #120084 (fix(rust-analyzer): use new pkgid spec to compare)

r? `@ghost`
`@rustbot` modify labels: rollup
Diffstat (limited to 'tests/coverage/closure.rs')
-rw-r--r--tests/coverage/closure.rs1
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