Skip to content

Commit 0eccda2

Browse files
Teach typeck/borrowck/solvers how to deal with async closures
1 parent 02cfedd commit 0eccda2

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

core/src/ops/async_function.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,3 +106,11 @@ mod impls {
106106
}
107107
}
108108
}
109+
110+
mod internal_implementation_detail {
111+
// TODO: needs a detailed explanation
112+
#[cfg_attr(not(bootstrap), lang = "async_fn_kind_helper")]
113+
trait AsyncFnKindHelper<GoalKind> {
114+
type Assoc<'closure_env, Inputs, Upvars, BorrowedUpvarsAsFnPtr>;
115+
}
116+
}

0 commit comments

Comments
 (0)