We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8f468f commit 99eabb4Copy full SHA for 99eabb4
core/src/ops/async_function.rs
@@ -146,6 +146,7 @@ mod internal_implementation_detail {
146
// `for<'env> fn() -> (&'env T, ...)`. This allows us to represent the binder
147
// of the closure's self-capture, and these upvar types will be instantiated with
148
// the `'closure_env` region provided to the associated type.
149
+ #[cfg_attr(not(bootstrap), lang = "async_fn_kind_upvars")]
150
type Upvars<'closure_env, Inputs, Upvars, BorrowedUpvarsAsFnPtr>;
151
}
152
0 commit comments