Soft-destabilize RustcEncodable/RustcDecodable

This commit is contained in:
Jacob Pratt
2023-09-21 00:06:22 +00:00
committed by David Tolnay
parent b3df0d7e5e
commit 2624e9183d
4 changed files with 32 additions and 18 deletions

View File

@@ -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};