Skip to content
Myr

Feature never_type has been stabilized in nightly

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

warning: the feature `never_type` has been stable since 1.100.0-nightly and no longer requires an attribute to enable --> serde_core/src/lib.rs:48:43 | 48 | #![cfg_attr(feature = "unstable", feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default warning: the feature `never_type` has been stable since 1.100.0-nightly and no longer requires an attribute to enable --> test_suite/tests/test_de.rs:11:43 | 11 | #![cfg_attr(feature = "unstable", feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default warning: the feature `never_type` has been stable since 1.100.0-nightly and no longer requires an attribute to enable --> test_suite/tests/test_de_error.rs:6:43 | 6 | #![cfg_attr(feature = "unstable", feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default warning: the feature `never_type` has been stable since 1.100.0-nightly and no longer requires an attribute to enable --> test_suite/tests/test_ser.rs:2:43 | 2 | #![cfg_attr(feature = "unstable", feature(never_type))] | ^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default

authored by David Tolnay · committed by David Tolnay · parent 747814f · Browse files · 4 files+0 added−8 removed
This commit

State

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

Diff stats

4 files+0 added−8 removed

  • tests:+0 added−3 removed
  • other:+0 added−5 removed

4 files+0 added−8 removed

modified:serde_core/src/lib.rs-5 removed
39 unmodified lines
40#![cfg_attr(not(feature = "std"), no_std)]41// Show which crate feature enables conditionally compiled APIs in documentation.42#![cfg_attr(docsrs, feature(doc_cfg, rustdoc_internals))]43#![cfg_attr(docsrs, allow(internal_features))]44// Unstable functionality only if the user asks for it. For tracking and45// discussion of these features please refer to this issue:46//47// https://github.com/serde-rs/serde/issues/81248#![cfg_attr(feature = "unstable", feature(never_type))]44#![allow(unknown_lints, bare_trait_objects, deprecated)]45// Ignored clippy and clippy_pedantic lints46#![allow(47 // clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
69 unmodified lines
modified:test_suite/tests/test_de_error.rs-1 removed
1 unmodified line
2 clippy::derive_partial_eq_without_eq,3 clippy::empty_enums,4 clippy::unreadable_literal5)]6#![cfg_attr(feature = "unstable", feature(never_type))]67use serde::de::{Deserialize, IntoDeserializer};8use serde_derive::Deserialize;9use serde_test::{assert_de_tokens_error, Token};
1558 unmodified lines
modified:test_suite/tests/test_de.rs-1 removed
6 unmodified lines
7 clippy::needless_pass_by_value,8 clippy::uninlined_format_args,9 clippy::unreadable_literal10)]11#![cfg_attr(feature = "unstable", feature(never_type))]1112use serde::de::value::{F32Deserializer, F64Deserializer};13use serde::de::{Deserialize, DeserializeOwned, Deserializer, IntoDeserializer};14use serde_derive::Deserialize;
2372 unmodified lines
modified:test_suite/tests/test_ser.rs-1 removed
1#![allow(clippy::derive_partial_eq_without_eq, clippy::unreadable_literal)]2#![cfg_attr(feature = "unstable", feature(never_type))]23use serde_derive::Serialize;4use serde_test::{assert_ser_tokens, assert_ser_tokens_error, Configure, Token};5use std::cell::RefCell;
913 unmodified lines