about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-13 08:31:45 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-02-13 08:31:45 +0000
commit43e9411db839747f650e1125ed06266566c20b65 (patch)
tree5ed166021ffb0cc6a84667f2801a90486858a747
parent893615fb5fe1b21a22d4a0230c4d28e554c27ab3 (diff)
downloadrust-43e9411db839747f650e1125ed06266566c20b65.tar.gz
rust-43e9411db839747f650e1125ed06266566c20b65.zip
Prevent rustfmt from messing up experimental syntax
-rw-r--r--src/tools/miri/tests/pass/async-closure.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/miri/tests/pass/async-closure.rs b/src/tools/miri/tests/pass/async-closure.rs
index 9b2fc2948bf..e04acfc39cf 100644
--- a/src/tools/miri/tests/pass/async-closure.rs
+++ b/src/tools/miri/tests/pass/async-closure.rs
@@ -16,6 +16,7 @@ pub fn block_on<T>(fut: impl Future<Output = T>) -> T {
     }
 }
 
+#[rustfmt::skip]
 async fn call_once(f: impl async FnOnce(DropMe)) {
     f(DropMe("world")).await;
 }