mirror of
https://gitee.com/openharmony/third_party_rust_serde
synced 2024-11-27 09:01:43 +00:00
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
This commit is contained in:
parent
89c6a79b6e
commit
b54821d8ab
@ -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))]
|
||||
|
Loading…
Reference in New Issue
Block a user