Remove never_type feature gate

The stabilization for this feature has landed in nightly.
This commit is contained in:
David Tolnay 2019-11-23 19:30:19 -08:00
parent 4eb580790d
commit 533fb9cc44
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 1 additions and 3 deletions

View File

@ -82,7 +82,7 @@
// discussion of these features please refer to this issue:
//
// https://github.com/serde-rs/serde/issues/812
#![cfg_attr(feature = "unstable", feature(specialization, never_type))]
#![cfg_attr(feature = "unstable", feature(specialization))]
#![allow(unknown_lints, bare_trait_objects, deprecated)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]

View File

@ -1,5 +1,4 @@
#![allow(clippy::decimal_literal_representation, clippy::unreadable_literal)]
#![cfg_attr(feature = "unstable", feature(never_type))]
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::default::Default;

View File

@ -1,5 +1,4 @@
#![allow(clippy::unreadable_literal)]
#![cfg_attr(feature = "unstable", feature(never_type))]
use std::cell::RefCell;
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};