diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2023-05-07 10:52:01 +0200 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2023-05-07 10:52:01 +0200 |
| commit | 35940bcda31299852ec220a6d21c189b5ff01fd5 (patch) | |
| tree | 5a947c972b9035fa22a5505874bb7e1fa322b12b | |
| parent | 3a75e192586585414b2ba2d50fbf5c32dad4375b (diff) | |
| download | rust-35940bcda31299852ec220a6d21c189b5ff01fd5.tar.gz rust-35940bcda31299852ec220a6d21c189b5ff01fd5.zip | |
Remove `identity_future` from stdlib
This function/lang_item was introduced in #104321 as a temporary workaround of future lowering. The usage and need for it went away in #104833. After a bootstrap update, the function itself can be removed from `std`.
| -rw-r--r-- | crates/hir-def/src/lang_item.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/hir-def/src/lang_item.rs b/crates/hir-def/src/lang_item.rs index 4096e0a3826..d338bb41205 100644 --- a/crates/hir-def/src/lang_item.rs +++ b/crates/hir-def/src/lang_item.rs @@ -379,7 +379,6 @@ language_item_table! { // FIXME(swatinem): the following lang items are used for async lowering and // should become obsolete eventually. ResumeTy, ResumeTy, resume_ty, Target::Struct, GenericRequirement::None; - IdentityFuture, identity_future, identity_future_fn, Target::Fn, GenericRequirement::None; GetContext, get_context, get_context_fn, Target::Fn, GenericRequirement::None; Context, Context, context, Target::Struct, GenericRequirement::None; |
