Skip to content

Commit 99eabb4

Browse files
Add lang item for AsyncFnKindHelper::Upvars
1 parent a8f468f commit 99eabb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/ops/async_function.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ mod internal_implementation_detail {
146146
// `for<'env> fn() -> (&'env T, ...)`. This allows us to represent the binder
147147
// of the closure's self-capture, and these upvar types will be instantiated with
148148
// the `'closure_env` region provided to the associated type.
149+
#[cfg_attr(not(bootstrap), lang = "async_fn_kind_upvars")]
149150
type Upvars<'closure_env, Inputs, Upvars, BorrowedUpvarsAsFnPtr>;
150151
}
151152
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy