diff options
| -rw-r--r-- | src/tools/miri/tests/pass/async-closure.rs | 1 |
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; } |
