Skip to content

Commit e9804a3

Browse files
committed
make rustc_encodable_decodable feature properly unstable
1 parent 4847d6a commit e9804a3

File tree

7 files changed

+4
-111
lines changed

7 files changed

+4
-111
lines changed

library/core/src/macros/mod.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -1773,8 +1773,7 @@ pub(crate) mod builtin {
17731773
#[rustc_builtin_macro]
17741774
#[unstable(
17751775
feature = "rustc_encodable_decodable",
1776-
issue = "none",
1777-
soft,
1776+
issue = "134301",
17781777
reason = "derive macro for `rustc-serialize`; should not be used in new code"
17791778
)]
17801779
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]
@@ -1787,8 +1786,7 @@ pub(crate) mod builtin {
17871786
#[rustc_builtin_macro]
17881787
#[unstable(
17891788
feature = "rustc_encodable_decodable",
1790-
issue = "none",
1791-
soft,
1789+
issue = "134301",
17921790
reason = "derive macro for `rustc-serialize`; should not be used in new code"
17931791
)]
17941792
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]

library/core/src/prelude/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,7 @@ pub mod v1 {
2222
// Do not `doc(inline)` these `doc(hidden)` items.
2323
#[unstable(
2424
feature = "rustc_encodable_decodable",
25-
issue = "none",
26-
soft,
25+
issue = "134301",
2726
reason = "derive macro for `rustc-serialize`; should not be used in new code"
2827
)]
2928
#[allow(deprecated)]

library/std/src/prelude/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,7 @@ pub mod v1 {
124124
// Do not `doc(inline)` these `doc(hidden)` items.
125125
#[unstable(
126126
feature = "rustc_encodable_decodable",
127-
issue = "none",
128-
soft,
127+
issue = "134301",
129128
reason = "derive macro for `rustc-serialize`; should not be used in new code"
130129
)]
131130
#[allow(deprecated)]

tests/ui/derives/rustc-decodable-issue-123156.rs

-11
This file was deleted.

tests/ui/derives/rustc-decodable-issue-123156.stderr

-10
This file was deleted.

tests/ui/feature-gates/feature-gate-rustc_encodable_decodable.rs

-16
This file was deleted.

tests/ui/feature-gates/feature-gate-rustc_encodable_decodable.stderr

-66
This file was deleted.

0 commit comments

Comments
 (0)