about summary refs log tree commit diff
path: root/src/tools/rust-analyzer
diff options
context:
space:
mode:
authorYuki Okushi <jtitor@2k36.org>2023-05-08 19:41:50 +0900
committerGitHub <noreply@github.com>2023-05-08 19:41:50 +0900
commit28b9696a9e0a948b0cafbb72a8ed880d571a8cca (patch)
tree453d8e6d5a92ab6d06b1c5675b9dc8028b82f3d2 /src/tools/rust-analyzer
parentc145d933955b4c690768d5c526db671ab4d4d4b6 (diff)
parent48dfbeee27e748a598681d24bd8b69f5ea611f85 (diff)
downloadrust-28b9696a9e0a948b0cafbb72a8ed880d571a8cca.tar.gz
rust-28b9696a9e0a948b0cafbb72a8ed880d571a8cca.zip
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`.
Diffstat (limited to 'src/tools/rust-analyzer')
-rw-r--r--src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs b/src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs
index 4096e0a3826..d338bb41205 100644
--- a/src/tools/rust-analyzer/crates/hir-def/src/lang_item.rs
+++ b/src/tools/rust-analyzer/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;