Skip to content

Commit 4788150

Browse files
committed
add rt flag to allowed internal unstable for RustcEncodable/Decodable
1 parent d8a5f09 commit 4788150

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/macros/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ pub(crate) mod builtin {
15371537
/// Unstable implementation detail of the `rustc` compiler, do not use.
15381538
#[rustc_builtin_macro]
15391539
#[stable(feature = "rust1", since = "1.0.0")]
1540-
#[allow_internal_unstable(core_intrinsics, libstd_sys_internals)]
1540+
#[allow_internal_unstable(core_intrinsics, libstd_sys_internals, rt)]
15411541
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]
15421542
#[doc(hidden)] // While technically stable, using it is unstable, and deprecated. Hide it.
15431543
pub macro RustcDecodable($item:item) {
@@ -1547,7 +1547,7 @@ pub(crate) mod builtin {
15471547
/// Unstable implementation detail of the `rustc` compiler, do not use.
15481548
#[rustc_builtin_macro]
15491549
#[stable(feature = "rust1", since = "1.0.0")]
1550-
#[allow_internal_unstable(core_intrinsics)]
1550+
#[allow_internal_unstable(core_intrinsics, rt)]
15511551
#[deprecated(since = "1.52.0", note = "rustc-serialize is deprecated and no longer supported")]
15521552
#[doc(hidden)] // While technically stable, using it is unstable, and deprecated. Hide it.
15531553
pub macro RustcEncodable($item:item) {

0 commit comments

Comments
 (0)