From b54821d8ab8b27a72c7ae5eff5ea8f6cee504bee Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 31 May 2019 21:26:41 -0700 Subject: [PATCH] Alloc feature has been stabilized warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable --> serde/src/lib.rs:84:40 | 84 | #![cfg_attr(feature = "alloc", feature(alloc))] | ^^^^^ | = note: #[warn(stable_features)] on by default --- serde/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index 451af743..f41514ef 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -81,7 +81,6 @@ // // https://github.com/serde-rs/serde/issues/812 #![cfg_attr(feature = "unstable", feature(specialization, never_type))] -#![cfg_attr(feature = "alloc", feature(alloc))] #![allow(unknown_lints, bare_trait_objects)] #![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))] #![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]