Skip to content
Myr

Feature never_type no longer needed for doc build

Before adoption: this commit came in with the history the project adopted, so no landing records it.

warning: the feature `never_type` has been stable since 1.100.0-nightly and no longer requires an attribute to enable --> serde/src/lib.rs:108:56 | 108 | #![cfg_attr(all(feature = "unstable", docsrs), feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

authored by David Tolnay · committed by David Tolnay · parent 50b6384 · Browse files · 1 file+0 added−5 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+0 added−5 removed

  • other:+0 added−5 removed

1 file+0 added−5 removed

modified:serde/src/lib.rs-5 removed
99 unmodified lines
100#![cfg_attr(not(feature = "std"), no_std)]101// Show which crate feature enables conditionally compiled APIs in documentation.102#![cfg_attr(docsrs, feature(doc_cfg, rustdoc_internals))]103#![cfg_attr(docsrs, allow(internal_features))]104// Unstable functionality only if the user asks for it. For tracking and105// discussion of these features please refer to this issue:106//107// https://github.com/serde-rs/serde/issues/812108#![cfg_attr(all(feature = "unstable", docsrs), feature(never_type))]104#![allow(105 unknown_lints,106 bare_trait_objects,107 deprecated,
173 unmodified lines