about summary refs log tree commit diff
path: root/tests/codegen/async-closure-debug.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/codegen/async-closure-debug.rs
parenta6f2f00de89e1dd9cb903db93dac754398c1267f (diff)
downloadrust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.tar.gz
rust-59e3e8934e3e50ddb9b9a9ffaa523cbab2260598.zip
Gate async fn trait bound modifier on async_trait_bounds
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}");