about summary refs log tree commit diff
path: root/compiler/rustc_feature/src/removed.rs
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-10-09 18:37:30 +0200
committerLeón Orell Valerian Liehr <me@fmease.dev>2024-10-10 00:57:59 +0200
commit2e7a52b22fe222316a48093547f6312252c20f0f (patch)
treec1aab442574ea993272f51283a925a48651f3540 /compiler/rustc_feature/src/removed.rs
parent62b24ea7c53aec6f8176fed05d0acee926b76bdb (diff)
downloadrust-2e7a52b22fe222316a48093547f6312252c20f0f.tar.gz
rust-2e7a52b22fe222316a48093547f6312252c20f0f.zip
Rename feature object_safe_for_dispatch to dyn_compatible_for_dispatch
Diffstat (limited to 'compiler/rustc_feature/src/removed.rs')
-rw-r--r--compiler/rustc_feature/src/removed.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/rustc_feature/src/removed.rs b/compiler/rustc_feature/src/removed.rs
index 0cd0963d4e3..c275ad31b87 100644
--- a/compiler/rustc_feature/src/removed.rs
+++ b/compiler/rustc_feature/src/removed.rs
@@ -154,6 +154,10 @@ declare_features! (
     /// then removed. But there was no utility storing it separately, so now
     /// it's in this list.
     (removed, no_stack_check, "1.0.0", None, None),
+    /// Allows making `dyn Trait` well-formed even if `Trait` is not dyn-compatible (object safe).
+    /// Renamed to `dyn_compatible_for_dispatch`.
+    (removed, object_safe_for_dispatch, "CURRENT_RUSTC_VERSION", Some(43561),
+     Some("renamed to `dyn_compatible_for_dispatch`")),
     /// Allows using `#[on_unimplemented(..)]` on traits.
     /// (Moved to `rustc_attrs`.)
     (removed, on_unimplemented, "1.40.0", None, None),