Skip to content
Myr

Apply clippy to test suite

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 318db92 · Browse files · 5 files+8 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

5 files+8 added−2 removed

  • tests:+7 added−1 removed
  • other:+1 added−1 removed

5 files+8 added−2 removed

modified:.github/workflows/ci.yml+1 added-1 removed
modified:tests/drop/mod.rs+2 added
1#![allow(clippy::module_name_repetitions)]23use std::error::Error as StdError;4use std::fmt::{self, Display};5use std::sync::atomic::AtomicBool;6use std::sync::atomic::Ordering::SeqCst;
48 unmodified lines
modified:tests/test_convert.rs+2 added
1#![allow(clippy::unnecessary_wraps)]23mod drop;45use self::drop::{DetectDrop, Flag};6use anyhow::{Error, Result};
20 unmodified lines
modified:tests/test_downcast.rs+2 added
1#![allow(clippy::wildcard_imports)]23mod common;4mod drop;56use self::common::*;
102 unmodified lines
modified:tests/test_macros.rs+1 added-1 removed
1#![allow(clippy::eq_op)]1#![allow(clippy::eq_op, clippy::shadow_unrelated, clippy::wildcard_imports)]23mod common;45use self::common::*;
39 unmodified lines