Skip to content

Commit 35940bc

Browse files
committed
Remove identity_future from stdlib
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`.
1 parent 3a75e19 commit 35940bc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/hir-def/src/lang_item.rs

-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,6 @@ language_item_table! {
379379
// FIXME(swatinem): the following lang items are used for async lowering and
380380
// should become obsolete eventually.
381381
ResumeTy, ResumeTy, resume_ty, Target::Struct, GenericRequirement::None;
382-
IdentityFuture, identity_future, identity_future_fn, Target::Fn, GenericRequirement::None;
383382
GetContext, get_context, get_context_fn, Target::Fn, GenericRequirement::None;
384383

385384
Context, Context, context, Target::Struct, GenericRequirement::None;

0 commit comments

Comments
 (0)