Skip to content

Commit

Permalink
make rustc_encodable_decodable feature properly unstable
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung authored and gitbot committed Feb 20, 2025
1 parent 3866288 commit c7a5b34
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions core/src/macros/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1836,8 +1836,7 @@ pub(crate) mod builtin {
#[rustc_builtin_macro]
#[unstable(
feature = "rustc_encodable_decodable",
issue = "none",
soft,
issue = "134301",
reason = "derive macro for `rustc-serialize`; should not be used in new code"
)]
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]
Expand All @@ -1850,8 +1849,7 @@ pub(crate) mod builtin {
#[rustc_builtin_macro]
#[unstable(
feature = "rustc_encodable_decodable",
issue = "none",
soft,
issue = "134301",
reason = "derive macro for `rustc-serialize`; should not be used in new code"
)]
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]
Expand Down
3 changes: 1 addition & 2 deletions core/src/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ pub mod v1 {
// Do not `doc(inline)` these `doc(hidden)` items.
#[unstable(
feature = "rustc_encodable_decodable",
issue = "none",
soft,
issue = "134301",
reason = "derive macro for `rustc-serialize`; should not be used in new code"
)]
#[allow(deprecated)]
Expand Down
3 changes: 1 addition & 2 deletions std/src/prelude/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,7 @@ pub mod v1 {
// Do not `doc(inline)` these `doc(hidden)` items.
#[unstable(
feature = "rustc_encodable_decodable",
issue = "none",
soft,
issue = "134301",
reason = "derive macro for `rustc-serialize`; should not be used in new code"
)]
#[allow(deprecated)]
Expand Down

0 comments on commit c7a5b34

Please sign in to comment.