diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-24 22:27:25 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-06 02:22:58 +0000 |
| commit | a82bae2172499864c12a1d0b412931ad884911f7 (patch) | |
| tree | c7299fdfd83be3818fcffdb86639146c9d29bb69 /compiler/rustc_hir/src/lang_items.rs | |
| parent | c567eddec2c628d4f13707866731e1b2013ad236 (diff) | |
| download | rust-a82bae2172499864c12a1d0b412931ad884911f7.tar.gz rust-a82bae2172499864c12a1d0b412931ad884911f7.zip | |
Teach typeck/borrowck/solvers how to deal with async closures
Diffstat (limited to 'compiler/rustc_hir/src/lang_items.rs')
| -rw-r--r-- | compiler/rustc_hir/src/lang_items.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir/src/lang_items.rs b/compiler/rustc_hir/src/lang_items.rs index 8e327c029df..9c9e72d6e65 100644 --- a/compiler/rustc_hir/src/lang_items.rs +++ b/compiler/rustc_hir/src/lang_items.rs @@ -209,6 +209,7 @@ language_item_table! { AsyncFn, sym::async_fn, async_fn_trait, Target::Trait, GenericRequirement::Exact(1); AsyncFnMut, sym::async_fn_mut, async_fn_mut_trait, Target::Trait, GenericRequirement::Exact(1); AsyncFnOnce, sym::async_fn_once, async_fn_once_trait, Target::Trait, GenericRequirement::Exact(1); + AsyncFnKindHelper, sym::async_fn_kind_helper,async_fn_kind_helper, Target::Trait, GenericRequirement::Exact(1); FnOnceOutput, sym::fn_once_output, fn_once_output, Target::AssocTy, GenericRequirement::None; |
