Content-Length: 257435 | pFad | https://github.com/celinval/rust-dev/commit/99eabb47fb4f8c66aefac9e99df5b558ff826521

1A Add lang item for AsyncFnKindHelper::Upvars · celinval/rust-dev@99eabb4 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/celinval/rust-dev/commit/99eabb47fb4f8c66aefac9e99df5b558ff826521

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy