about summary refs log tree commit diff
path: root/tests/codegen/async-closure-debug.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/codegen/async-closure-debug.rs')
-rw-r--r--tests/codegen/async-closure-debug.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/codegen/async-closure-debug.rs b/tests/codegen/async-closure-debug.rs
index 9cb1e623295..644df169a36 100644
--- a/tests/codegen/async-closure-debug.rs
+++ b/tests/codegen/async-closure-debug.rs
@@ -9,7 +9,7 @@
 
 #![feature(async_closure)]
 
-fn async_closure_test(upvar: &str) -> impl async Fn() + '_ {
+fn async_closure_test(upvar: &str) -> impl AsyncFn() + '_ {
     async move || {
         let hello = String::from("hello");
         println!("{hello}, {upvar}");