Skip to content

Commit

Permalink
Remove identity_future from stdlib
Browse files Browse the repository at this point in the history
This function/lang_item was introduced in rust-lang#104321 as a temporary workaround of future lowering.
The usage and need for it went away in rust-lang#104833.
After a bootstrap update, the function itself can be removed from `std`.
  • Loading branch information
Swatinem committed May 7, 2023
1 parent 3a75e19 commit 35940bc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion crates/hir-def/src/lang_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 35940bc

Please sign in to comment.