From 9e6158e9e6be4a9e599643a12539f2e9d9ab4506 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 10 Jun 2024 09:45:45 -0700 Subject: [PATCH] Nightly no longer requires error_in_core feature warning: the feature `error_in_core` has been stable since 1.81.0-nightly and no longer requires an attribute to enable --> serde/src/lib.rs:108:43 | 108 | #![cfg_attr(feature = "unstable", feature(error_in_core, never_type))] | ^^^^^^^^^^^^^ | = note: `#[warn(stable_features)]` on by default --- serde/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 1d9e6bc1..43ae0676 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -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(error_in_core, never_type))] +#![cfg_attr(feature = "unstable", feature(never_type))] #![allow(unknown_lints, bare_trait_objects, deprecated)] // Ignored clippy and clippy_pedantic lints #![allow(