mirror of
https://github.com/serde-rs/serde.git
synced 2026-03-13 17:18:15 +00:00
Fix unused_features warning
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
This commit is contained in:
parent
6b1a17851e
commit
fa7da4a935
@ -105,7 +105,7 @@
|
||||
// discussion of these features please refer to this issue:
|
||||
//
|
||||
// https://github.com/serde-rs/serde/issues/812
|
||||
#![cfg_attr(feature = "unstable", feature(never_type))]
|
||||
#![cfg_attr(all(feature = "unstable", docsrs), feature(never_type))]
|
||||
#![allow(
|
||||
unknown_lints,
|
||||
bare_trait_objects,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user