Skip to content

Commit c71ecab

Browse files
committed
Fix build of serde_core on nightly
1 parent 4921ea2 commit c71ecab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

serde_core/src/lib.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,13 @@
1919
// Support using Serde without the standard library!
2020
#![cfg_attr(not(feature = "std"), no_std)]
2121
// Show which crate feature enables conditionally compiled APIs in documentation.
22-
#![cfg_attr(docsrs, feature(docsrs))]
22+
#![cfg_attr(docsrs, feature(doc_cfg, rustdoc_internals))]
23+
#![cfg_attr(docsrs, allow(internal_features))]
2324
// Unstable functionality only if the user asks for it. For tracking and
2425
// discussion of these features please refer to this issue:
2526
//
2627
// https://github.com/serde-rs/serde/issues/812
27-
#![cfg_attr(feature = "unstable", feature(error_in_core, never_type))]
28+
#![cfg_attr(feature = "unstable", feature(never_type))]
2829
#![allow(unknown_lints, bare_trait_objects, deprecated)]
2930
// Ignored clippy and clippy_pedantic lints
3031
#![allow(

0 commit comments

Comments
 (0)