Skip to content
Myr

Fix unused_features warning

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

warning: feature `never_type` is declared but not used --> serde/src/lib.rs:108:43 | 108 | #![cfg_attr(feature = "unstable", feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(unused_features)]` (part of `#[warn(unused)]`) on by default

authored by David Tolnay · committed by David Tolnay · parent 6b1a178 · Browse files · 1 file+1 added−1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:serde/src/lib.rs+1 added-1 removed
103 unmodified lines
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(feature = "unstable", feature(never_type))]108#![cfg_attr(all(feature = "unstable", docsrs), feature(never_type))]109#![allow(110 unknown_lints,111 bare_trait_objects,112 deprecated,
173 unmodified lines