Skip to content

Commit 1769ac6

Browse files
authored
Rollup merge of #111315 - Swatinem:rm-identitiy-future, r=Mark-Simulacrum
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`.
2 parents 965dc6d + cd1a67e commit 1769ac6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

crates/hir-def/src/lang_item.rs

Lines changed: 0 additions & 1 deletion
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)