Update test suite to use tool attrs

This commit is contained in:
David Tolnay 2018-12-31 21:58:16 -05:00
parent ce84a5f1d3
commit 727a40fc5a
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 4 additions and 8 deletions

View File

@ -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};

View File

@ -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};

View File

@ -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;

View File

@ -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};