Skip to content

Commit b9909ce

Browse files
committed
Revert "Remove never_type feature gate"
This reverts commit 533fb9c.
1 parent d540e72 commit b9909ce

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

serde/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@
8282
// discussion of these features please refer to this issue:
8383
//
8484
// https://github.com/serde-rs/serde/issues/812
85-
#![cfg_attr(feature = "unstable", feature(specialization))]
85+
#![cfg_attr(feature = "unstable", feature(specialization, never_type))]
8686
#![allow(unknown_lints, bare_trait_objects, deprecated)]
8787
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
8888
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]

test_suite/tests/test_de.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(clippy::decimal_literal_representation, clippy::unreadable_literal)]
2+
#![cfg_attr(feature = "unstable", feature(never_type))]
23

34
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
45
use std::default::Default;

test_suite/tests/test_ser.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#![allow(clippy::unreadable_literal)]
2+
#![cfg_attr(feature = "unstable", feature(never_type))]
23

34
use std::cell::RefCell;
45
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};

0 commit comments

Comments
 (0)