Remove clippy deny attributes from test suite

These were superseded by the clippy invocation made in our CI workflow:

    run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic
This commit is contained in:
David Tolnay 2022-04-24 15:22:57 -07:00
parent 625d349ffb
commit dd9206cfd0
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
10 changed files with 0 additions and 16 deletions

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
#[rustversion::attr(not(nightly), ignore)]
#[cfg_attr(miri, ignore)]
#[test]

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
use std::fmt::Display;
use thiserror::Error;

View File

@ -1,4 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(dead_code)]
use std::fmt::{self, Display};

View File

@ -1,4 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(clippy::iter_cloned_collect, clippy::option_if_let_else)]
use std::fmt::Display;

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
use std::io;
use thiserror::Error;

View File

@ -1,4 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
#![allow(clippy::needless_late_init)]
use std::fmt::{self, Debug, Display};

View File

@ -1,5 +1,4 @@
#![cfg_attr(thiserror_nightly_testing, feature(backtrace))]
#![deny(clippy::all, clippy::pedantic)]
#[cfg(thiserror_nightly_testing)]
pub mod structs {

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
use ref_cast::RefCast;
use std::fmt::Display;
use std::path::{Path, PathBuf};

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
use std::error::Error as StdError;
use std::io;
use thiserror::Error;

View File

@ -1,5 +1,3 @@
#![deny(clippy::all, clippy::pedantic)]
use anyhow::anyhow;
use std::error::Error as _;
use std::io;