about summary refs log tree commit diff
path: root/library/std/src/prelude
diff options
context:
space:
mode:
authorJacob Pratt <jacob@jhpratt.dev>2023-09-21 00:06:22 +0000
committerDavid Tolnay <dtolnay@gmail.com>2024-03-22 13:24:35 -0700
commit2624e9183d8f3587bac325d6f7a9777c36f2f45b (patch)
tree81cd627666bd2fa152dad22fde670bf1f7d4af21 /library/std/src/prelude
parentb3df0d7e5ef5f7dbeeca3fb289c65680ad013f87 (diff)
downloadrust-2624e9183d8f3587bac325d6f7a9777c36f2f45b.tar.gz
rust-2624e9183d8f3587bac325d6f7a9777c36f2f45b.zip
Soft-destabilize `RustcEncodable`/`RustcDecodable`
Diffstat (limited to 'library/std/src/prelude')
-rw-r--r--library/std/src/prelude/v1.rs7
1 files changed, 6 insertions, 1 deletions
diff --git a/library/std/src/prelude/v1.rs b/library/std/src/prelude/v1.rs
index 36fa4e88b5b..0559f34c1b4 100644
--- a/library/std/src/prelude/v1.rs
+++ b/library/std/src/prelude/v1.rs
@@ -53,7 +53,12 @@ pub use core::prelude::v1::{
 pub use core::prelude::v1::concat_bytes;
 
 // Do not `doc(inline)` these `doc(hidden)` items.
-#[stable(feature = "builtin_macro_prelude", since = "1.38.0")]
+#[unstable(
+    feature = "rustc_encodable_decodable",
+    issue = "none",
+    soft,
+    reason = "unstable implementation detail of the `rustc` compiler, do not use"
+)]
 #[allow(deprecated)]
 pub use core::prelude::v1::{RustcDecodable, RustcEncodable};