Update test suite to use tool attrs
This commit is contained in:
parent
ce84a5f1d3
commit
727a40fc5a
@ -1,5 +1,4 @@
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless))]
|
||||
#![allow(clippy::cast_lossless)]
|
||||
|
||||
use serde::de::{self, MapAccess, Unexpected, Visitor};
|
||||
use serde::{Deserialize, Deserializer, Serialize, Serializer};
|
||||
|
@ -1,5 +1,4 @@
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(decimal_literal_representation))]
|
||||
#![allow(clippy::decimal_literal_representation)]
|
||||
#![cfg_attr(feature = "unstable", feature(never_type))]
|
||||
|
||||
use std::collections::{BTreeMap, BTreeSet, HashMap, HashSet};
|
||||
|
@ -1,6 +1,5 @@
|
||||
#![deny(trivial_numeric_casts)]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
||||
#![allow(clippy::redundant_field_names)]
|
||||
|
||||
mod bytes;
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
|
||||
#![cfg_attr(feature = "cargo-clippy", allow(redundant_field_names))]
|
||||
#![allow(clippy::redundant_field_names)]
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user