mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-17 10:21:03 +00:00
Update test suite to use tool attrs
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
#![allow(clippy::cast_lossless)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
|
|
||||||
|
|
||||||
use serde::de::{self, MapAccess, Unexpected, Visitor};
|
use serde::de::{self, MapAccess, Unexpected, Visitor};
|
||||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
#![allow(clippy::decimal_literal_representation)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(decimal_literal_representation))]
|
|
||||||
#![cfg_attr(feature = "unstable", feature(never_type))]
|
#![cfg_attr(feature = "unstable", feature(never_type))]
|
||||||
|
|
||||||
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
|
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
#![deny(trivial_numeric_casts)]
|
#![deny(trivial_numeric_casts)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
#![allow(clippy::redundant_field_names)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
|
||||||
|
|
||||||
mod bytes;
|
mod bytes;
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
#![allow(clippy::redundant_field_names)]
|
||||||
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
|
||||||
|
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user