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
3 changed files with 1 additions and 3 deletions
+1 -1
View File
@@ -82,7 +82,7 @@
// discussion of these features please refer to this issue: // discussion of these features please refer to this issue:
// //
// https://github.com/serde-rs/serde/issues/812 // 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)] #![allow(unknown_lints, bare_trait_objects, deprecated)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
-1
View File
@@ -1,5 +1,4 @@
#![allow(clippy::decimal_literal_representation, clippy::unreadable_literal)] #![allow(clippy::decimal_literal_representation, clippy::unreadable_literal)]
#![cfg_attr(feature = "unstable", feature(never_type))]
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
use std::default::Default; use std::default::Default;
-1
View File
@@ -1,5 +1,4 @@
#![allow(clippy::unreadable_literal)] #![allow(clippy::unreadable_literal)]
#![cfg_attr(feature = "unstable", feature(never_type))]
use std::cell::RefCell; use std::cell::RefCell;
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet}; use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};