about summary refs log tree commit diff
path: root/tests/coverage/async_closure.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-11-04 19:29:02 +0000
committerMichael Goulet <michael@errs.io>2024-12-02 16:50:44 +0000
commit59e3e8934e3e50ddb9b9a9ffaa523cbab2260598 (patch)
treed2883e386337ef32de1647da6f538739f1a40f30 /tests/coverage/async_closure.rs
parenta6f2f00de89e1dd9cb903db93dac754398c1267f (diff)
downloadrust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.tar.gz
rust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.zip
Gate async fn trait bound modifier on async_trait_bounds
Diffstat (limited to 'tests/coverage/async_closure.rs')
-rw-r--r--tests/coverage/async_closure.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coverage/async_closure.rs b/tests/coverage/async_closure.rs
index c076d03eef4..cbac592d957 100644
--- a/tests/coverage/async_closure.rs
+++ b/tests/coverage/async_closure.rs
@@ -4,7 +4,7 @@
 //@ aux-build: executor.rs
 extern crate executor;
 
-async fn call_once(f: impl async FnOnce()) {
+async fn call_once(f: impl AsyncFnOnce()) {
     f().await;
 }